Thursday, 29 August 2013

How to configure Editplus to create, compile, run Java program ?

To run Java programs there might be many IDEs like NeatbeansEclipse ,but as a beginner it is highly recommended to use Text Editor to Create,Compile and Run Java programs
Here it is provided how to set Editplus to compile, run Java programs.

You ca download it by clicking Editplus version 3 .
Download both the files EP2SETUP.EXE and KEY.txt.
Follow the steps below...

Step 1: Double click on the downloaded EP2SETUP.EXE file and install it normally
            Open the KEY.txt and activate Editplus.

Step 2: Now to configure the Editplus see the screen shots.
         
            Click on the Tools.


            Click on the Configure User Tools... , you will get a window like this

       
              Click on Group Name , you will get window 


             Change the New name to "JAVA" , click on OK. You will get a window..


             Click on the Add Tool >>"


            Change name in the Menu text to "Compile" and give copy the path of  javac.exe file in
             Command. By default the path will be "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" and                choose the Argument as  File Name and Initial Directory  as File Directory. 
            You should see like this


              Click on Apply .
              Repeat the same procedure by clicking Add Tool >> , changing Menu text  to "Run", and 
              give the copy of path of  java.exe file in  Command. By default the path will be 
              "C:\Program Files\Java\jdk1.7.0_25\bin\java.exe" and choose the Argument as 
              File Name Without Extension and  Initial Directory as File Directory.
              You should see like this


             Click on Apply button.  
             Now you have to do the same procedure above by mentioning Menu text as "javap" and the 
             in the Command you have to give javap.exe file path, by default it is 
             "C:\Program Files\Java\jdk1.7.0_25\bin\javap.exe"  and the Argument as 
             File Name Without Extension and Initial Directory as File Directory.


                Then last but not least you have to give the Command Prompt  to the group as a program.
                Click on Add Tool>> change Menu text to "cmd" and give the path of cmd your system,
                by default it will be "C:\Windows\System32\cmd.exe" and leave the Argument and 
                Initial Directory empty and click OK
              


             That's all you have to do with configuring Editplus and you will get like this.,


Step 3: Now create a java file and save it in any where in your system and 
            To compile ---- Ctrl+1
            To run-----------Ctrl+2
            To know what is that present in compiled code  ----- Ctrl+3
            To execute from command line arguments -----------Ctrl+4            
           
 Thank you for reading this post, you can watch video tutorial by clicking here
 any queries you can comment with out any hesitation.

1 comment: