Troubles with running a test [jME version 2]


I'm trying to run the demos, but there is something wrong. I'm using the SVN version and NetBeans 6.5. Any ideas why I'm getting this?

01/04/2009 13:44:55 jmetest.TestChooser start
INFO: Composing Test list...
01/04/2009 13:44:55 jmetest.TestChooser find
INFO: Searching for Demo classes in "jmetest".
Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at jmetest.TestChooser.load(
        at jmetest.TestChooser.addAllFilesInDirectory(
        at jmetest.TestChooser.addAllFilesInDirectory(
        at jmetest.TestChooser.find(
        at jmetest.TestChooser.addDisplayedClasses(
        at jmetest.TestChooser.start(
        at jmetest.TestChooser.main(
Caused by: java.lang.RuntimeException: Uncompilable source code - cannot find symbol
symbol: class BaseSimpleGame
        ... 9 more
Java Result: 1

Hmmm, try running an SVN update. Maybe for some reason it didn't pull down all the source code. You might also try cleaning the project and building it from ANT too.

If I open I find a "Incorrect Package" in the line package "com.jme.bounding;", if I change it to "package;" the error disapear… could this be a bug? Is there any configurations I should change on NetBeans?

Thanks again,


Yes, it appears to be a project configuration issue in NetBeans. I use eclipse, so can't help much. Find where the source directory is defined, and make your change there.

I'm so so sorry… I should have added the subfolders not the root folder… such a n00b error. sorry again.

Glad you got it running.