jME SDK Alpha-3 Compile problem

Hey guys! I’m making my game using jME SDK Alpha-3, but when pressing F6 (Compile & Run) it compiles and runs my old code! Not the one I have in the file! I really don’t know what’s happening. I don’t know if you guys know what I mean.

Thanks in advance, borba.

F6 compiles the main project, you sure you selected the right project as main project?

Thanks for your reply, normen.

I already solved my problem. I don’t know if is a bug, but if it is, maybe for in Alpha-4 GDE could detect the main class and change it. Cause my problem was: I used “Refactor” to rename the packages and the main file, but the GDE did not changed it in Properties > Run > Main Class and caused this error:

[java]java.lang.NoClassDefFoundError: mygame/Main

Caused by: java.lang.ClassNotFoundException: mygame.Main


at Method)


at java.lang.ClassLoader.loadClass(

at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

Could not find the main class: mygame.Main. Program will exit.

Exception in thread “main” Java Result: 1[/java]

Go to the project properties and select the correct main class under “run”.

I was editing the topic, thanks anyway normen.