This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

configuring editplus

 
Michelle Suschinsky
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - I want to use EditPlus to write my java, compile and test in a browser, but I am unsure as to how to configure it. Does anyone have any familiarity with this? Can you help - please?? I need the specific arguments like is it $(FileName) etc.. I am working on a Windows2000 platform.

Thanks in advance..

Michelle
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the IDEs and Other Tools forum...
 
Tom Blough
Ranch Hand
Posts: 263
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michelle,

First, you'll need to set an environment variable to point to your JDK install. Create the environment variable JAVA_HOME to point to the root of your install, i.e JAVA_HOME=C:\java\j2sdk1.4.2_04

Now, make sure you are running the latest version of Editplus (2.11); go to the tools menu and select "Configure user tools...".

Click "Group Name" and type "Java" then OK. Click "Add Tool>>", select "program", type "Compile" for the menu text. The command should be "%JAVA_HOME%\bin]javac.exe", and I use "-deprecation -classpath ./ $(FileName)" for the argument and "$(FileDir)" for the initial directory.

Check capture output and save open files. Compiler errors will appear in the pane below the editor. You can click on the error containing the line number to go to the offending line in the editor.

Now make a tool entry for "Run". It's a program tool; menu text is "Run"; command is "%JAVA_HOME%\bin\java.exe"; argument is "-classpath ./ $(FileNAmeNoExt)"; and initial directory is $(FileDir).

I usually have save open files and capture output selected. If you capture output, the programs output shows up in the pane below the editor. However, you can not provide data to your program from the keyboard if you capture the output. If your program requires keyboard input, uncheck capture output and the program will run in a command window.

I also set up a "Run GUI" program tool to run graphical programs. The command is "%JAVA_HOME%\bin\javaw.exe", argument is "-classpath ./ $(FileNameNoExt)" and initial directory is "$(FileDir). "Close window on exit" and "save open files are checked".

I also have a Javadoc command set up to javadoc all the source files. The command is "%JAVA_HOME%\bin\javadoc.exe", the argument is "-author -version *.java", initial directory is "$(FileDir)". Capture output and save open files are checked.

Finally, I have a show javadoc program tool. I'm using IE to display the files, so my command is "C:\Program Files\Internet Explorer\IEXPLORE.EXE" (you will need to browse for your browser executable if you use something different or it is not in the standard spot). The argument is "file://$(FileDir)/index.html", and the initial directory is "$(FileDir)". In this case, capture output is not checked.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic