I've installed the rpm-package of the MSP as well as JCommons & Jfreechart under openSuSE 10.3.
Unfortunately, trying to fire it up gives me this:
---
/usr/bin/build-classpath: error: could not find commons-collections Java extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
java virtual machine used: /usr/lib/jvm/jre/bin/java
classpath used: /usr/share/java/jcommon.jar:/usr/share/java/junit.jar:/usr/share/java/log4j.jar:/usr/share/java/MarsProject/plexus-core.jar:/usr/share/java/MarsProject/msp-simulation.jar:/usr/share/java/MarsProject/jfreechart.jar:/usr/share/java/MarsProject/msp-standard-ui.jar:/usr/share/java/MarsProject/MarsProject.jar:/usr/share/java/MarsProject/map_data.jar:/home/agrust/MarsProject
main class used: org.mars_sim.msp.MarsProject
flags used:
options used:
arguments used:
libxcb: WARNING! Program tries to unlock a connection without having acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/Predicate
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
at java.lang.Class.getDeclaredField(Class.java:1852)
at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1582)
at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at org.mars_sim.msp.simulation.Simulation.loadSimulation(Unknown Source)
at org.mars_sim.msp.MarsProject.<init>(Unknown Source)
at org.mars_sim.msp.MarsProject.main(Unknown Source)
---
A startup flash-pic is shown and that's it. As I said, Jcommons is installed!
When trying "java -jar MarsProject.jar" not even the splash-pic is found.
I have never used any Java-Programs before (aside from Web-Applets), I have not the slightest idea of what to do now.
By the way, in the thread "Couldn't find main class" I've noticed the mentioning of a "MarsProject.class"-file; that file doesn't exist in this package. Can that be the problem? Has whoever build that rpm omitted some files?
-Some other guy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using the Download from this page works. So, indeed, the maker of the rpm messed it up. His name (found out through Yast) is Toni Graffy (toni AT links2linux.de) of http://packman.links2linux.de. Maybe drop him a line. Who knows how many ditched the package because of this and have never taken a second look... ;)
-Still that other guy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for finding this. I didn't even know there was an RPM set up for this project. I'll try to get in contact with Toni and see if we can get the problems with the RPM fixed or, at worst, have it removed.
Greetings,
I've installed the rpm-package of the MSP as well as JCommons & Jfreechart under openSuSE 10.3.
Unfortunately, trying to fire it up gives me this:
---
/usr/bin/build-classpath: error: could not find commons-collections Java extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
java virtual machine used: /usr/lib/jvm/jre/bin/java
classpath used: /usr/share/java/jcommon.jar:/usr/share/java/junit.jar:/usr/share/java/log4j.jar:/usr/share/java/MarsProject/plexus-core.jar:/usr/share/java/MarsProject/msp-simulation.jar:/usr/share/java/MarsProject/jfreechart.jar:/usr/share/java/MarsProject/msp-standard-ui.jar:/usr/share/java/MarsProject/MarsProject.jar:/usr/share/java/MarsProject/map_data.jar:/home/agrust/MarsProject
main class used: org.mars_sim.msp.MarsProject
flags used:
options used:
arguments used:
libxcb: WARNING! Program tries to unlock a connection without having acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/Predicate
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
at java.lang.Class.getDeclaredField(Class.java:1852)
at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1582)
at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at org.mars_sim.msp.simulation.Simulation.loadSimulation(Unknown Source)
at org.mars_sim.msp.MarsProject.<init>(Unknown Source)
at org.mars_sim.msp.MarsProject.main(Unknown Source)
---
A startup flash-pic is shown and that's it. As I said, Jcommons is installed!
When trying "java -jar MarsProject.jar" not even the splash-pic is found.
I have never used any Java-Programs before (aside from Web-Applets), I have not the slightest idea of what to do now.
By the way, in the thread "Couldn't find main class" I've noticed the mentioning of a "MarsProject.class"-file; that file doesn't exist in this package. Can that be the problem? Has whoever build that rpm omitted some files?
-Some other guy.
Using the Download from this page works. So, indeed, the maker of the rpm messed it up. His name (found out through Yast) is Toni Graffy (toni AT links2linux.de) of http://packman.links2linux.de. Maybe drop him a line. Who knows how many ditched the package because of this and have never taken a second look... ;)
-Still that other guy.
Thank you for finding this. I didn't even know there was an RPM set up for this project. I'll try to get in contact with Toni and see if we can get the problems with the RPM fixed or, at worst, have it removed.
Thanks,
Scott Davis
Mars Simulation Project
http://mars-sim.sf.net
scud1@users.sourceforge.net