reset password
Author Message
BrianK
Posts: 25
Posted 09:23 Feb 02, 2018 |

I heard some people asking about how to run the template code and the simplest way for Windows users is just to create a simple batch script with the two lines in the readme, but you have to make sure your environment variables point to your Java JDK/JRE folders.

 

javac CS4551_Main.java Image.java

java CS4551_Main Ducky.ppm

 

Ideally, you'll be editing the java files in Np++. Things will probably get more complicated later on, so eventually you probably just want to start running them from Eclipse so here's a SO link on how to run bat files from Eclipse (https://stackoverflow.com/questions/1090355/how-to-run-a-batch-script-bat-file-from-eclipse) It needs to be inside your JavaTemplateCode folder to work.

Attachments:
Last edited by BrianK at 09:26 Feb 02, 2018.