Menu

unable to get 3.01 to work

Help
Anonymous
2012-02-09
2012-11-16
  • Anonymous

    Anonymous - 2012-02-09

    Hello!  I've tried getting both the javaws version (I've not heard of encountered javaws before, so might be ignorance on my part there) nor the downloadable .jar file version. I downloaded the latter to my downloads directory, extracted the zip file, opened a shell, navigated to where the jar file was, and executed the command as per the instructions - all I get is the splash screen, and no indication of what's amiss.  My system is Linux Mint (latest version)  installed over what had been an ailing Ubuntu 10.04 install, on a PC with 2GB of RAM and twin AMD 4800+ CPUs. Minecraft runs perfectly well on this PC, using either Suns JRE or the Open one. I've tried selecting the jar file and then 'open with..' with both JRE's.
    Any help/advice as to what may help/what I may be doing amiss (if anything) greatly appreciated.
    Thank you!

     
  • Scott Davis

    Scott Davis - 2012-02-15

    Hi esmenhamaire,

    I'm sorry you're having problems with getting MSP 3.01 running.  You say you've gone to the extracted project directory and ran  "java -jar mars-sim-main-3.01.jar", and only got the splash screen.  That means that something is failing when the program starts up.  Hopefully we can track this down.

    Try (from the same project directory) running the following command:

    java -Xms256m -Xmx256m -Djava.util.logging.config.file=logging.properties -cp .:*:jars/* org.mars_sim.msp.MarsProject

    This should display a stack trace of whatever error that is causing the program to fail.

    Hopefully we can get this resolved for you.  Thanks for letting us know.

    Scott

     
  • Anonymous

    Anonymous - 2012-02-15

    Thanks!

    here's what I got:

    ~/Downloads/mars-sim$ java -Xms256m -Xmx256m -Djava.util.logging.config.file=logging.properties -cp
    -cp requires class path specification
    Usage: java  class
               (to execute a class)
       or  java  -jar jarfile
               (to execute a jar file)
    where options include:
        -d32   use a 32-bit data model if available
        -d64   use a 64-bit data model if available
        -client   to select the "client" VM
        -server   to select the "server" VM
        -jamvm   to select the "jamvm" VM
        -cacao   to select the "cacao" VM
        -zero   to select the "zero" VM
        -hotspot   is a synonym for the "client" VM 
        -shark   is a synonym for the "zero" VM 
                      The default VM is server,
                      because you are running on a server-class machine.

        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A : separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
        -D<name>=<value>
                      set a system property
        -verbose
                      enable verbose output
        -version      print product version and exit
        -version:<value>
                      require the specified version to run
        -showversion  print product version and continue
        -jre-restrict-search | -jre-no-restrict-search
                      include/exclude user private JREs in the version search
        -? -help      print this help message
        -X            print help on non-standard options
        -ea
        -enableassertions
                      enable assertions with specified granularity
        -da
        -disableassertions
                      disable assertions with specified granularity
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertions
        -agentlib:<libname>
                      load native agent library <libname>, e.g. -agentlib:hprof
                      see also, -agentlib:jdwp=help and -agentlib:hprof=help
        -agentpath:<pathname>
                      load native agent library by full pathname
        -javaagent:<jarpath>
                      load Java programming language agent, see java.lang.instrument
        -splash:<imagepath>
                      show splash screen with specified image
    See http://java.sun.com/javase/reference for more details.

     
  • Anonymous

    Anonymous - 2012-02-15

    Just spotted my mistake, and tried again. thsi time I got:

    15-Feb-2012 23:46:40 INFO org.mars_sim.msp.MarsProject Starting Mars Simulation
    15-Feb-2012 23:46:42 WARNING org.mars_sim.msp.MarsProject Could not load default simulation
    15-Feb-2012 23:46:42 SEVERE org.mars_sim.msp.MarsProject Could not load the default simulation, trying to create new…

    - I also obtained an error message window telling me it couldn;t load the default simulation etc, and now a configuration editor has opened. I've now selected Alpha Base, Add, and then create new simulation - and nothing seems to be happeneing. Java is using 0% CPU, and all I/m left with is the splash screen.  No further messages in the terminal window.

     
  • Scott Davis

    Scott Davis - 2012-02-16

    This is strange and it's not providing any additional error messages.  It's just failing to create and start a new simulation.

    All of the command line logs and the error message you saw are expected behaviour since there are no simulation save files on your computer.  After the Simulation Configuration Editor dialog, it should create the new simulation and start it up, displaying the main window.  For some reason it's failing to do this and not displaying any error logs.

    I will try to recreate this bug on one of systems, but I'm not quite sure what's causing it.  You might want to try creating a new simulation with just Alpha Base (same process you did before, just select all the other settlement rows in the table and click the "Remove" button).  It's possible that it might be running out of memory creating so many settlements.

    If we're not successful with this, I could send you a pre-release of the 3.02 version that we've been working on.  I fixed a few memory-related bugs and it's possible that it might work better on your system (no guarantee).

    Scott

     
  • Anonymous

    Anonymous - 2012-02-17

    Just tried again and deselected all bar Alpha, as per above, identical results to last time.
    Might I suggest that if there's a save file you could send me, and tell me where to place it, that it may be worth trying starting it up with that in place?

    I'd prefer not to try a pre-release, although thanks for offering; I don;t have quite as much patience with software as I used to when younger, so I'd rather wait until 3.02 is out properly and then try again.

     
  • Scott Davis

    Scott Davis - 2012-02-21

    I sent you an email at your sourceforge account address and attached a save file from the 3.01 build.  Let me know if this works for you or not.

    Scott

     
  • Scott Davis

    Scott Davis - 2012-02-21

    Looks like the email I sent wasn't recognised as a valid address.  I sent you a message through sourceforge.

    If you could send me your valid email address to "scud1@users.sourceforge.net" I could attach the MSP 3.01 save file.  We could see if that works for you or not.

    Sorry for all the trouble,

    Scott

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.