10-13-2014, 06:54 PM
Hi Rose,
Launching jEPlus simulations from the command line is for advanced users. To be able to launch it you need to work in the command prompt (here I am assuming you are using Windows). Command prompt can be found in: Start, Programs, Accessories, Command prompt. The manual on basic commands in command prompt can be found here.
Once the command prompt is opened you need to change the working directory to the jEPlus folder (folder where the jEPlus.jar file is) by using CD command (change directory). If your jEPlus folder is on the Desktop it should be something like:
cd C:\Users\[User name - for example Rose]\Desktop\jEPlus\
Once you are in the jEPlus folder you will be able to execute first part of the command: java -jar jEPlus.jar -job
However, this is not sufficient to launch the simulation project. The second part of the command is related to the folder where your project.jep file is stored. Let's assume that your project.jep file is located in the TESTPROJECT folder on the Desktop. The full path to the project folder will be something like
C:\Users\[User name - for example Rose]\Desktop\TESTPROJECT\
This means that your command in the command prompt will be (bare in mind that the working directory is jEPlus):
java -jar jEPlus.jar -job C:\Users\[User name - for example Rose]\Desktop\TESTPROJECT\project.jep -file joblist.txt
You can also use relative path to the jEPlus folder. In that case, the command will be:
java -jar jEPlus.jar -job ..\TESTPROJECT\project.jep -file joblist.txt
In the above example you need to specify simulations to be executed in the joblist.txt file. If you would like to run all simulations defined in your project that you need to replace "-file joblist.txt" with "-all" (excluding quotations)
I hope this will help.
Ivan
Launching jEPlus simulations from the command line is for advanced users. To be able to launch it you need to work in the command prompt (here I am assuming you are using Windows). Command prompt can be found in: Start, Programs, Accessories, Command prompt. The manual on basic commands in command prompt can be found here.
Once the command prompt is opened you need to change the working directory to the jEPlus folder (folder where the jEPlus.jar file is) by using CD command (change directory). If your jEPlus folder is on the Desktop it should be something like:
cd C:\Users\[User name - for example Rose]\Desktop\jEPlus\
Once you are in the jEPlus folder you will be able to execute first part of the command: java -jar jEPlus.jar -job
However, this is not sufficient to launch the simulation project. The second part of the command is related to the folder where your project.jep file is stored. Let's assume that your project.jep file is located in the TESTPROJECT folder on the Desktop. The full path to the project folder will be something like
C:\Users\[User name - for example Rose]\Desktop\TESTPROJECT\
This means that your command in the command prompt will be (bare in mind that the working directory is jEPlus):
java -jar jEPlus.jar -job C:\Users\[User name - for example Rose]\Desktop\TESTPROJECT\project.jep -file joblist.txt
You can also use relative path to the jEPlus folder. In that case, the command will be:
java -jar jEPlus.jar -job ..\TESTPROJECT\project.jep -file joblist.txt
In the above example you need to specify simulations to be executed in the joblist.txt file. If you would like to run all simulations defined in your project that you need to replace "-file joblist.txt" with "-all" (excluding quotations)
I hope this will help.
Ivan