Programming with Java

  1. After logging onto Jill open a shell (text console) and use the change directory (cd) command to navigate to the folder containing your Java programs. Once there enter the command:
    	jedit ForDemo.java
    

  2. When JEdit starts you'll get a window like this: NOTE: If this is your first time starting Jedit you'll get a HELP window which you can either read or close.

  3. You can compile your program by selecting JCompile from the PLUGINS menu and choosing Compile File.

  4. When your program compiles you'll get this following window:

  5. Close the compilation window and open the CONSOLE menu from the PLUGIN menu. You can then choose java to RUN your program.

  6. You'll then get a COMMAND window; just click on OK.

  7. When your program runs you'll get this window showing the output:

  8. If your output is correct close this window and save your program and then exit JEdit.