i have had it with this stupid cvs!!
i followed the guide for setting it all up and i got ant aswell (who knows what they're for), when i try to login to cvs it keeps giving me "cvs exited normally with code 1". I signed up for java.net and used that instead of guest but still nothing!
this is what i put in the cvsroot box: ":pserver:boblettoj@cvs.dev.java.net:/cvs login"
after i run that it comes up with the box asking for my password but when i put it in and press ok it exits and gives me that error.
itsss sooooooo annoying i just wanna do some java grrrrrrrrrr
I would recommend using an IDE, because from what you say I assume you are using cvs from command line!.
Check the two guides for setting up jME in Eclipse and NetBeans (pick the one IDE that appeals more to you… I use Eclipse, and used to use NetBeans)
http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme
http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_netbeans_5.0_to_build_jme_and_jme-physics_2
yeh thing is i use blueJ, i hate eclipse because its soo over complicated and iv never used netbeans before, is there a way to do it through blueJ?
or better still is there a way to do it without cvs
AFAIK, the nightly build works already, so you could download that, and you would not be terribly outdated!
Try these:
http://www.forthestars.com/jme/jME.zip
https://jme.dev.java.net/files/documents/73/72061/jme.zip
That should do it!
ok theres quite alot of jar files in there…which ones do i need to use?
in this first demo the imports are:
import com.jme.app.SimpleGame;
import com.jme.scene.shape.Box;
import com.jme.math.Vector3f;
which jar files are they in?
EDIT: oh i see the last one in the list is called jme.jar ha how did i miss it!
ok thanks for the help and speedy replies!
uhoh when i ran the demo (hello world)
it gave me a big error, most notably this line:
java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException
somethings missing
Most likely the lwjgl.jar file!
indeed but its not in that zip file i downloaded…
where do i get it?
hmmm i went to the lwjgl website and got all the necessary files there but now when i compile it says:
11-Nov-2007 22:52:47 com.jme.app.BaseGame start
INFO: Application started.
11-Nov-2007 22:52:47 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
11-Nov-2007 22:52:47 com.jme.system.PropertiesIO load
WARNING: Could not load properties. Creating a new one.
11-Nov-2007 22:52:47 class HelloWorld start()
SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:111)
at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)
at com.jme.app.AbstractGame.getAttributes(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at HelloWorld.main(HelloWorld.java:15)
at __SHELL0.run(__SHELL0.java:7)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at bluej.runtime.ExecServer$3.run(ExecServer.java:792)
11-Nov-2007 22:52:47 com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
11-Nov-2007 22:52:47 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
11-Nov-2007 22:52:47 com.jme.app.BaseGame start
INFO: Application ending.
why is this sooo complicated
It is complicated because you are not using an IDE!
This means that you forgot to set the -Djava.library.path=<path_to_lwjgl.dll> at the command line… Hope you don't mind this question, but are you relatively new to Java?
lol, ive been doing it a year now, but usually this stuff just works!
how do i do this command line stuff?
i dont seem to have a lwjgl.dll file…
ARRGGHH ok i found the lwjgl.dll file and put that in the classpath
now the error is much shorter and makes no sense whatsoever:
12-Nov-2007 18:53:05 com.jme.app.BaseGame start
INFO: Application started.
12-Nov-2007 18:53:05 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
12-Nov-2007 18:53:05 com.jme.system.PropertiesIO load
WARNING: Could not load properties. Creating a new one.
any help?
That is not an error, that is just a warning that the configuration file was not found… The application will create its own after this, and continue execution.
ummm well nothing happened after that…
something aint right
Oh wait hold on, the window was hidden beneath everything else lol!