There are a couple of JAR files you'll need to include in the classpath. Here's the line we use in the script to start it:
java -classpath .;jars\jfreechart.jar;jars\aelfred.jar MarsProject
Note: Be sure to put the application in a directory with no spaces in its name and has no parent directories with spaces in their names. This causes the program not to find data files properly.
hi everyone
when i run the marsproject batch file,
it creates a new simulation then says:
exception in thread "main" java.lang.NullPointerException
when i tried "java -cp . MarsProject" from DOS i got
exception in thread "main"
java.lang.NoClassDefFoundError: com/microstar/xml/Handlerbase
i have also tried including all directories but no luck
sorry but im kinda new to java
thanks for your help
Brian
this was using winxp, and latest J2RE
Brian,
There are a couple of JAR files you'll need to include in the classpath. Here's the line we use in the script to start it:
java -classpath .;jars\jfreechart.jar;jars\aelfred.jar MarsProject
Note: Be sure to put the application in a directory with no spaces in its name and has no parent directories with spaces in their names. This causes the program not to find data files properly.
Let me know if this helps,
Scott Davis
Mars Simulation Project
http://mars-sim.sourceforge.net
scud1@users.sourceforge.net