Any one know what is wrong here? I have seen this error before with other java projects. What is the problem and the fix? Just in case this is on Windows XP current on service packs.
C:jme>java -Djava.library.path=./lib -cp ./lib/lwjgl.jar;./lib/jogg0.0.5.jar;.
/lib/jorbis-0.0.12.jar;./target/jme.jar;./target/jmetest.jar;./target/jmetest-data.jar jmetest.TutorialGuide.HelloAnimation
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jme/app/S
impleGame (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
Thanks
Pat
Please dont cross post. Its not nice and we know you want a fix, there just isn’t a need…
You have compiled the classes with the 1.5 (or 5.0) JDK and ran them on a 1.4 JDK.
Btw, how is this related to troubleshooting jme? You could have posted this on the java forums instead of the jme forums… oh well, its done now.
DP
a little education please, but what is the point of compatibility options if they dont work. I set code to be 1.4 compatible with 5.0 and tried to run it on a 1.4 jre and have it complain and crash it even happens with 1.4 to 1.4..... I don't understand, I can be a little dim, but doesn't these issues complicate deployment.
umm…eclipse problem perhaps?
Its working fine over here…
DP
perhaps… for my code,
but I encountered 1.4.2_07 to 1.4.2_03 on a downloaded game once,
when you have hardware issues and platform consideration headaches to think of, and then you’re faced with the prospect of doing something that a particular vm doesn’t support especially when simply doing stuff for fun and hobby and just want to share, it can be a turn off. not a jme rant, a general one
Thanks for the input about the version. I found a space in the path to my JRE and it was defaulting to 1.3.1.02. corrected that problem by removing the space. Now I am having problems with the display. here is the current error.
C:jme>java -Djava.library.path=./lib -cp ./lib/lwjgl.jar;./lib/jogg-0.0.5.jar;.
/lib/jorbis-0.0.12.jar;./target/jme.jar;./target/jmetest.jar;./target/jmetest-da
ta.jar jmetest.effects.TestDynamicSmoker
Apr 19, 2005 10:09:16 AM com.jme.app.BaseGame start
INFO: Application started.
Apr 19, 2005 10:09:16 AM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
Apr 19, 2005 10:09:16 AM com.jme.system.PropertiesIO load
INFO: Read properties
Apr 19, 2005 10:09:22 AM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Apr 19, 2005 10:09:22 AM com.jme.system.PropertiesIO save
INFO: Saved properties
Apr 19, 2005 10:09:22 AM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Apr 19, 2005 10:09:26 AM com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay
SEVERE: Cannot create window
java.lang.Error: Cannot create window: Could not find a valid pixel format
at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(Unknown Source)
at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(Unknown Source)
at com.jme.app.SimpleGame.initSystem(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.effects.TestDynamicSmoker.main(Unknown Source)
Apr 19, 2005 10:09:26 AM com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
Apr 19, 2005 10:09:26 AM com.jme.input.InputSystem getKeyInput
WARNING: KeyInput is null, insure that a call to createInputSystem was made befo
re getting the devices.
Apr 19, 2005 10:09:26 AM com.jme.input.InputSystem getMouseInput
WARNING: MouseInput is null, insure that a call to createInputSystem was made be
fore getting the devices.
Apr 19, 2005 10:09:26 AM com.jme.app.BaseGame start
INFO: Application ending.
I suggest you to download and install the newest drivers for your graphicscard.
Hopiu
I still have the same last problem. Some think it is a video driver issue. I have a intergrated Intel 82815 /G/EG Solano Graphics B0-step Controller(microsoft). Will this work with the current jme? if not what video card do I need to run jme?
I’m no expert, but your card may not support opengl, you need it to use jme.
as for cards I’m a nvidia fan there opengl is good real good
At work I’ve got a 82865G and it does not work with jME, so it is quite likely that your’s does not work, too.