Thursday, April 16, 2009

What is Edit Plus ?

EditPlus is a text editor, HTML editor and programmers editor for Windows.

How to configure Edit Plus to compile and run JAVA code ?

Go to Tools >> Configure



Click Add Tool >>

Tool #1 (for compiling the code)

Menu text : compile
Command : C:\Program Files\Java\jdk1.5.0\bin\javac.exe (Browse for javac.exe)
Argument : $(FileName) (File Name)
Initial Directory : $(FileDir) (File Directory)

Check "Capture Output" and "Save Open Files"


Tool #2 (for executing the code)

Menu text : run
Command : C:\Program Files\Java\jdk1.5.0\bin\java.exe (Browse for java.exe)
Argument : $(FileNameNoExt) (File Name Without Extension)
Initial Directory : $(FileDir) (File Directory)

Check "Save Open Files"


Tool #3 (for applets)

Menu text : applet viewer
Command : C:\Program Files\Java\jdk1.5.0\bin\appletviewer.exe
Argument : $(FileName) (File Name)
Initial Directory : $(FileDir) (File Directory)

Check "Save Open Files"