Archive for the ‘editplus’ Category
This post may help you to deal with Java Programs in the EditPlus – a famous editor for many different type of files (for example, .java, .css, .html, .sql, .txt etc).
One more similar editor is TextPad, which can directly deal with Java applications as its taking the Java Compiler by default from the installed location in the machine it is running. Thats one advantage with that.
What exactly do i mean to say “dealing with Java applications”? Does it mean typing the source code? Absolutely NOT! That does not require any special settings and you can start typing as you would with any other file. I mean to say, “Compiling” and “Running” of Java applications.
In EditPlus, we cannot direclty deal with Java Applications and they need some sort of settings to do that. Lets see them one by one.
1. Options to set for Compilation (“javac”):
Go to “Tools” Menu -> and click on “Configure User Tools…” option.
Click on the individual images to see the full-size screenshots if it does not display the image in full.
Every image has the required description and explanation for the step.
Image1: Clicking on “Configure User Tools…” Option in the “Tools” Menu
It will open a new dialog box where in you can enter your details to configure for the tools.
Image2: The Initial Groups and Tools Window dialog box
Image3: Clicking on “Add Tool” button in the Dialog box
Image4: The Initial window on “Add Program”
Image5: Configuring “javac” for compilation – step 1
Image6: Configuring “javac” for compilation – step 2
Image7: Verifying the “javac” tool added in the “Tools” Menu
2. Options to set for Execution (“java”) :
Image8: Configuring “java” for execution
Image9: Verifying the “java” tool added in the “Tools” Menu
Image10: Compiling a Java Program
Image11: Running (Executing) a Java Program by giving the command line arguments
Image12: Output of running the Java Program with command line arguments
Image13: Output of running the Java Program without any command line arguments
Hope the series of screenshots helped you configure and run a Java Program in EditPlus.
I have blogged this steps as i have seen this in one of the threads in JavaRanch. But still, i would suggest you to just proceed with Notepad and the normal Command Window if you are in the beginning stage because the ordinary plain text editor like Notepad will help you improve your language syntax by not having any support for syntax highlighting!
It would be so nice if you could please share your feedbacks and suggestions if any for the improvement of the material.