hi guys
from the first day I downloaded latest jme engine and updated it to the latest available plugins … still i have problems with it
first, the GUI its self have some bar in the most-right bottom corner named: Opening SceneViewer, which is stuck at 14% and whatever i do it wont disappear.
second, i wanted to make my first game landscape (terrain), so i copied and pasted the code in this link:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_terrain
and tried to compile and run it, and that’s what i got:
run:
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Uncompilable source code - class HelloTerrain is public, should be declared in a file named HelloTerrain.java
at jme3test.helloworld.HelloTerrain.(Main.java:19)
Exception in thread “main” Java Result: 1
BUILD SUCCESSFUL (total time: 4 seconds)
actually not a single code did run on jmonkey engine on my pc , i always get exceptions.
any help or clues are really appreciated
thanks
@jmenewbie28 said:
Caused by: java.lang.RuntimeException: Uncompilable source code - class HelloTerrain is public, should be declared in a file named HelloTerrain.java
at jme3test.helloworld.HelloTerrain.(Main.java:19)
I'm not sure how that error can be any clearer. This is a basic Java learning issue and not really a JME one.
1 Like