Set up the Java environment
You don't need a complete Java development environment on your computer to run and develop the game, but you do need the Java development kit (JDK), if you don't already have it. Moreover, it is recommended that you set your PATH user variable to point to the JDK bin folder, so that the java compiler can be called without specifying an absolute path.
- If you don't already have it on your computer, download and install JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html.
- Add the path to the JDK bin folder to your PATH user variable. Typically, the path to the JDK bin folder is something like C:\Program Files\Java\jdk1.7.0\bin. In Windows XP, you access the PATH user variable through the Control Panel, System, Advanced and Environment Variables. In the dialog that appears, select the PATH line under User variables, choose Edit and append a semicolon (;) and the path to the JDK bin folder. Then click OK in each open dialog to close them.
- Check that the environment is properly set up by opening a command prompt and entering javac. You should now see instructions for usage of javac.