I've just bought a new computer with Vista home premium. One of the first programmes I installed was Mars Sim Project.. unfortunately I can't get it to work.
I've downloaded the latest version of Java (1.6.0 I think) and the online checker states it's installed fine. However when I start Mars Sim I get a DOS box flash up so quickly I can't read what message is displayed there.. and nothing else happens.
Anyone have any idea how to get it to run?
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm sorry you're having troubles getting the simulation running on VISTA.
I have a laptop running VISTA that has the latest Java runtime environment: 1.6.0.03 and it's able to to run the project by double clicking on the MarsProject.jar file without problems.
Another thing you can try is running it from the command prompt. It should be from the start button -> all programs -> accessories -> command prompt. You can go to the mars-sim folder and type "java -jar MarsProject.jar" and see if that starts it.
You can also check your installed Java version by typing "java -version" in the command prompt.
Let me know if this works or not. I'll see if I can replicate the problem on another machine.
Thanks for replying. Running it from the command prompt as you suggested worked! So thanks for that.
Is there anyway I can shortcut this process? I don't know.. make a batch file, or turn this process into a shortcut of some kind? I'm really glad it's working but it's quite a lengthy process to go through compared to clicking an icon. I wonder why, as the program is working, double clicking the jar file doesn't work?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just tested out a batch file on Windows Vista for both version 2.82 and 2.83 and it appears to work fine.
The batch file just contains the line: "java -jar MarsProject.jar".
I created the file in a text editor and saved it in the mars-sim folder.
After you've tested that it works ok, you can right-click on the batch file and select "send to -> desktop". This will create a shortcut on the desktop that will run the project.
Let me know if this works for you.
I'm not quite sure why it's having troubles with the normal double-clicking of the executable jar file. I'll look into this.
Scott
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've just bought a new computer with Vista home premium. One of the first programmes I installed was Mars Sim Project.. unfortunately I can't get it to work.
I've downloaded the latest version of Java (1.6.0 I think) and the online checker states it's installed fine. However when I start Mars Sim I get a DOS box flash up so quickly I can't read what message is displayed there.. and nothing else happens.
Anyone have any idea how to get it to run?
cheers
In a moment of inspiration I tried hitting print screen the moment the dos box flashed on screen and managed to catch the error message! :) It says;
Exception in thread 'main' java.lang.NoClassDefFoundError: C:\Program Files\mars-sim\MarsProject/jar
Does that help figure out what's going wrong?
thanks
I'm sorry you're having troubles getting the simulation running on VISTA.
I have a laptop running VISTA that has the latest Java runtime environment: 1.6.0.03 and it's able to to run the project by double clicking on the MarsProject.jar file without problems.
Another thing you can try is running it from the command prompt. It should be from the start button -> all programs -> accessories -> command prompt. You can go to the mars-sim folder and type "java -jar MarsProject.jar" and see if that starts it.
You can also check your installed Java version by typing "java -version" in the command prompt.
Let me know if this works or not. I'll see if I can replicate the problem on another machine.
Scott Davis
Mars Simulation Project
http://mars-sim.sf.net
scud1@users.sourceforge.net
Hi Scott,
Thanks for replying. Running it from the command prompt as you suggested worked! So thanks for that.
Is there anyway I can shortcut this process? I don't know.. make a batch file, or turn this process into a shortcut of some kind? I'm really glad it's working but it's quite a lengthy process to go through compared to clicking an icon. I wonder why, as the program is working, double clicking the jar file doesn't work?
I just tested out a batch file on Windows Vista for both version 2.82 and 2.83 and it appears to work fine.
The batch file just contains the line: "java -jar MarsProject.jar".
I created the file in a text editor and saved it in the mars-sim folder.
After you've tested that it works ok, you can right-click on the batch file and select "send to -> desktop". This will create a shortcut on the desktop that will run the project.
Let me know if this works for you.
I'm not quite sure why it's having troubles with the normal double-clicking of the executable jar file. I'll look into this.
Scott
That worked, thanks very much :)
Btw, 2.83 seems great!