Looking for tips/primer on using JRE or other compiler to run combat simulations
Hey - I'm interested in running time-step combat simulations to help me optimize raiding stats of my enh sham. I've seen several examples from other posters of code like this, but I'm not sure about the compiler. Are people just using JRE? If so, I'm not even sure how to open the JRE compiler window on my computer, etc. Does anyone have some intro tips, or links to get started so I can get to coding?
Snippet of code, to give an example of what I'm talking about:
Download and install Java Standard Edition Developers Kit (JDK, the SE is so you don't end up with the micro or enterprise editions). JRE is the Java Runtime Enviroment, meaning it's what you use to run code, not what you compile it with.
In your Windows PATH system variable place ";Drive:path\to\jdk1.6.0\bin" at the end. Reboot your machine.
Open up your favourite text editor, and write code. You will need to define a class, main method and any other methods you will need to preform your simulation. Save the file with the .java extension.
Open up a command prompt and change to the directory where your file is located. Type "javac <name>.java" to compile and "java <name>" to run.
You can also log your simulation to disk within your code, or simply with "java file > log.txt".