Compiling java Using Notepad++

View previous topic View next topic Go down

Compiling java Using Notepad++

Post by BIT0122-Amit on Sat Aug 08, 2009 3:18 am

As usual, open notepad++.

Then go to plugins, NppExec, Execute.
Select temporary Script from the drop down menu.
In the white Text box,copy and paste this code.

Code:
javac "$(FULL_CURRENT_PATH)"
then, save it using the name Java compiler.
Next, enable :
Code:
Follow $(CURRENT_DIRECTORY)
you are done Smile

Next time you compile goto *.java file, simply execute it from plugins, NppExec menu.
Then, press F5, type
Code:
java filename

the only problem is that if you don't stop the screen for user input, the program executes and then exits automatically. To prevent this, you can type
Code:
java filename
in notepad++'s own console windows at the lower part.
(If you can't find the console, go to plugins, NppExec,Show Console dialogue)

Hope you will enjoy the awesome facilities of Notepad++ Very Happy
king

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum