[sdljava-users] re: sdljava (?install?) problem
Status: Beta
Brought to you by:
ivan_ganza
From: mailmur <ma...@ya...> - 2006-03-29 07:10:22
|
How do you run your java program, show us a full commandline. Probably you've typed wrong an invalid classname for java.exe program. Here is an example: [ run.bat ] set cp=c:/sdljava-0.9.1/lib/sdljava.jar;. set lib=sdljava-0.9.1/lib/ java.exe -Djava.library.path=%lib% -classpath %cp% sdljava.SDLMainTest Put all necessary jars and classes folder to cp variable. And lib variable must point to the _folder_ where sdl.dll files are stored. If it still cannot find a class then you havent saved it to the appropriate package folder c:/test/run.bat c:/test/sdljava/SDLMainTest.class >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi, I have some problems with sdljava. When I compile and run any code applying SDL, like this testing code: --------------------------------------------------------------------------------- package sdljava; public class SDLMainTest { static { ... Greetings Karel, I'm not sure why you are having that problem. It is very strange. Try to compile the classes on your own and not using the jar file. What happens then? -Ivan/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |