Menu

#80 Can't start simulation

3.1.0
closed
2017-05-22
2017-05-16
No

I'm unable to start the application. I get a missing class as below:

java -jar mars-sim-3.1.0-p6.jar new
Command: java -Djava.util.logging.config.file=logging.properties -cp .::jars/ org.mars_sim.msp.javafx.MarsProjectFX -Xms256m -Xmx1024m -new
OUTPUT>Error: Could not find or load main class org.mars_sim.msp.javafx.MarsProjectFX

I also tried to run it in directly:

java -Xms256m -Xmx1024m -Djava.util.logging.config.file=logging.properties -cp mars-sim-3.1.0-p7.jar org.mars_sim.msp.javafx.MarsProjectFX.class
Error: Could not find or load main class org.mars_sim.msp.javafx.MarsProjectFX.class

I've tried 3.1.0-p6 and 3.1.0-p7, both have the same error. Version 3.0.7 works fine.

I'm using Ubuntu 17.04, with java:

java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-4-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

Discussion

  • manny kung

    manny kung - 2017-05-17

    hmm. I wonder why. Do you install the 3.07 debian version ?

    I have ubuntu 17.04 as well and is using openJDK.

    $ java -version
    openjdk version "1.8.0_131"
    OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.17.04.1-b11)
    OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

    Can you update it to 1.8.0_131 to see if the problem goes away ?

    Thanks for setting up this ticket and letting the community know.

    If you don't mind, let's open an issue at https://github.com/mars-sim/mars-sim/issues and cut and paste the stuff over there and continue this conversation.

    -Manny

     
  • manny kung

    manny kung - 2017-05-17

    Hi Matthew,

    I've just recreated this ticket in https://github.com/mars-sim/mars-sim/issues/53 and also add new comments to it. Let me know in github.

    Appreciate!
    Manny

     
  • manny kung

    manny kung - 2017-05-22
     
  • manny kung

    manny kung - 2017-05-22
    • labels: --> openjdk, openjfx
    • status: open --> closed
    • assigned_to: manny kung
     

Log in to post a comment.

MongoDB Logo MongoDB