Running jME sample

Hi guys,



im a newbie and i would like to run one of those goggle hosted projects, for instance there is one

which im interested is called stardust.

http://code.google.com/p/jme-demos/wiki/Stardust



i dont know anything, i would be grateful if you tell step by step how to run it by its source code.



Regards,

As far as I can tell, this project has been abandoned. It’s also for jME2, so if you want to be working with the new jME3 then this code will be of little use to you if you can’t port it yourself.



Regardless of the above, I do not understand your request. What is it you want from this Stardust demo? If you can’t get it to work, how would it help you if someone spent their time to make you able to run it. What then?

its simple bro

we have the source code and i want to run it

thats it



but ive installed jme2 with physic engine as well but it still gives me this error



[java]

init:

deps-jar:

compile:

run:

27-Oct-2010 17:16:34 com.jme.input.joystick.DummyJoystickInput

INFO: Joystick support is disabled

27-Oct-2010 17:16:34 com.jme.system.lwjgl.LWJGLDisplaySystem

INFO: LWJGL Display System created.

27-Oct-2010 17:16:34 com.jme.renderer.lwjgl.LWJGLRenderer

INFO: LWJGLRenderer created. W: 1,024 H: 768 Version: 2.1.0

27-Oct-2010 17:16:34 com.jme.renderer.AbstractCamera

INFO: Camera created.

27-Oct-2010 17:16:35 com.jmex.audio.openal.OpenALSystem setupSourcePool

INFO: max source channels: 32

27-Oct-2010 17:16:35 com.jmex.game.state.GameStateManager create

INFO: Created GameStateManager

27-Oct-2010 17:16:35 com.jme.util.lwjgl.LWJGLTimer

INFO: Timer resolution: 1000 ticks per second

27-Oct-2010 17:16:37 com.jmex.physics.PhysicsSpace scanAvailableImplementations

WARNING: Failed to use physics implementation ‘com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory’ due to Exception while creating factory: java.lang.VerifyError: class com.jmex.physics.PhysicsCollisionGeometry overrides final method findPick.(Lcom/jme/math/Ray;Lcom/jme/intersection/PickResults;)V

java.lang.VerifyError: class com.jmex.physics.PhysicsCollisionGeometry overrides final method findPick.(Lcom/jme/math/Ray;Lcom/jme/intersection/PickResults;)V

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$000(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$000(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$000(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory.(OdePhysicsSpace.java:173)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at com.jmex.physics.PhysicsSpace.scanAvailableImplementations(PhysicsSpace.java:366)

at com.jmex.physics.PhysicsSpace.create(PhysicsSpace.java:340)

at com.jmex.physics.util.states.PhysicsGameState.(PhysicsGameState.java:48)

at com.jmedemos.stardust.gamestates.InGameState.(InGameState.java:125)

at com.jmedemos.stardust.core.Start.main(Start.java:96)

27-Oct-2010 17:16:37 com.jmedemos.stardust.core.SDExceptionHandler uncaughtException

SEVERE: caucht uncaught exception, quitting game

27-Oct-2010 17:16:37 com.jmedemos.stardust.core.SDExceptionHandler uncaughtException

SEVERE: No physics implementation was registered nor found!

java.lang.IllegalStateException: No physics implementation was registered nor found!

at com.jmex.physics.PhysicsSpace.create(PhysicsSpace.java:348)

at com.jmex.physics.util.states.PhysicsGameState.(PhysicsGameState.java:48)

at com.jmedemos.stardust.gamestates.InGameState.(InGameState.java:125)

at com.jmedemos.stardust.core.Start.main(Start.java:96)

java.lang.IllegalStateException: Shutdown in progress

at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:55)

at java.lang.Runtime.removeShutdownHook(Runtime.java:220)

at org.lwjgl.opengl.Display$4.run(Display.java:720)

at java.security.AccessController.doPrivileged(Native Method)

at org.lwjgl.opengl.Display.removeShutdownHook(Display.java:718)

at org.lwjgl.opengl.Display.destroy(Display.java:935)

at com.jme.system.lwjgl.LWJGLDisplaySystem.close(LWJGLDisplaySystem.java:313)

at com.jmex.game.StandardGame.quit(StandardGame.java:452)

at com.jmex.game.StandardGame.run(StandardGame.java:276)

at java.lang.Thread.run(Thread.java:619)

Java Result: -1

BUILD SUCCESSFUL (total time: 4 seconds)



[/java]

Well, if its simple then it should be no problem for you eh bro? You a java master, the source is with you!

man i meant the question is simple, instead of confusing me,yourself and all

please help in the right way to fix this

thanks mate

@artvfx I also wanted to dig through all of these stuff.But, be sure if you try jME3 once, you will never want to go back to jME2.



All the things related to jME2 is just too old and are not meant for today.

ok , ill try it, ill come back with feedback



thanks iamcreasy

Most likely the issue is that there were some changes done to jME2 and it is now no longer compatible with jME physics and the Stardust project. You could try downloading an older version of jME2 (the first release, 2.0.1) and it might work. Although from the look of things there are several errors happening so I don’t know how successful you’ll be.

Its strange , i compile it no error

but when i runs ,game starts for a loading thing but right after 40% loading it stops

Drives me crazy, ill tray one of those first version of jme2 ,

ill go to give it a try

thanks

There was a change in jME2 just about a year ago (so it may be right before or right after the 2.0.1 release) that broke the jME2 physics implementation that uses ODE. We made the fix in jme2physics so it compiled and worked.



That error is weird because findPick isn’t a final method :confused:

I have to run this mess , by your hints ill run it

thanks guys

Is there something specific you were looking to do with the Stardust sources? We may be able to point you in the direction of something more up to date…

well this project is very similar to what i want to develop, so i though why i don’t keep developing this project.

this are fine game runs but as soon as goes for loading after 40% crashes.

i would be grateful if you try to run this maybe you could give me some hints.

It ran fine for me using revision 220 of jME Physics 2, revision 5671 of jME2, and 56 of Stardust… I forgot, its actually quite fun too :slight_smile: We should remake that with jME3 now that the physics engine is more stable!

Finally i managed to run it, Skye thanks to you without your help im sure it was impossible for me to do this

I had to do these things:



First

i had to install Eclipse 3.4 (Ganymede), exactly this version



Second

SVN installation

Name: Subclipse 1.2.x (Eclipse 3.2+)

URL: http://subclipse.tigris.org/update_1.2.x



i have tried all option ,almost all versions of netbeans and eclipse ,but only combination this two version works,





Once again guys, thanks

Rofl, what do you do with it now?

Well with your help guys I would like start to redevelope this, this way I would learn jme and at the end of the day we will have a project for community, as Skye said it’s good to do it with jme3 but it takes time a little bit for me to catch up , I’m new in this and this project it’s a good point for me to start,

There are some features that I would like to embed in this such as:

Multiplayer , VoIP , automaticaly generate level of difficulity



Thanks norman

jME3 is easy to catch up with then jME2

the main problem with the project, ist that it uses jme physics, its was great and easy to use, but its not supported anymore.

I think there are also no 64 bit libs for it.

Best would be to recreate the project with jme3 or use another physics lib to still keep it a useful jme2 example.