PDA

View Full Version : Java not working


UrbanTwitch
08-13-2009, 12:30 AM
I'm trying run a .bat file that runs java.

Inside it says:

"C:\Program Files\Java\jdk1.6.0_11\bin\java.exe" -Xmx256m -classpath .;lib\jinput.jar;lib\lwjgl.jar;lib\lwjgl_util.jar;lib\minecraft.jar -Djava.library.path=native\windows Main

Look:
http://i26.tinypic.com/bdtnpy.jpg

What do you think?

--------------------------------

also
the code in this one is:

"C:\Program Files\Java\jdk1.6.0_11\bin\java.exe" -Xmx256m -classpath .;lib\jinput.jar;lib\lwjgl.jar;lib\lwjgl_util.jar;lib\minecraft.jar -Djava.library.path=native\windows Main

error message:
http://i25.tinypic.com/25f5d9k.jpg

I have both JDK 6 and JRE installed on my computer. Problem is, I get errors. :\

Fou-Lu
08-13-2009, 01:03 AM
Only time I've seen that error is trying to load a dll into my program that wasn't on my library path. Sadly, this isn't the case here, it looks to me like you're trying to use a 32bit dll on a 64bit platform and its whining about incompatibility.
I'll scower the net tonight at work to see if I can find a solution and post back if I find one.

UrbanTwitch
08-13-2009, 01:20 PM
Thanks!

Fou-Lu
08-14-2009, 08:03 AM
Mkay, so I haven't found a solution to this.
I've found a bug that's similar to this, but its about 32bit compatibility on 32bit systems. The only things I've found for this is that you'll need to compile using a 32bit version of the JRE. Either that, or if you have the source for the dll, you should be able to recompile it as a 64bit dll.
Sorry I couldn't find more to help you :(