+ 7

Can we use notepad++ to work on java ?

22nd Feb 2017, 5:46 PM
Mandar Joshi
Mandar Joshi - avatar
9 Respuestas
+ 23
I had been using Notepad– The one that comes with Windows for a long time for writing Java programs andthen running it through command line, though i hadNotepad++ installed on my system. But then it just flashed to me that “Why can’t i try Notepad++ for compiling and interpreting the Java programs“. I searched in the FAQs under “Running External Tools” and found useful information which has helped me to compile and run the Java programs right from the “Notepad++” application itself. Here’s how it can be done: Running External Tools in Notepad++: External tools can be executed by passing the current edited document as argument. For doing this the “environment variable” is used The usage of Environment Variable: $(ENVIRONMENT_VARIABLE) Ex: Lets say we are editing “NotHelloWorld.java” The 5 environment Variable that can be used are: FULL_CURRENT_PATH: C:Documents and SettingsAdministratorMy DocumentsJavaPNotHelloWorld.java CURRENT_DIRECTORY: C:Documents and SettingsAdministratorMy DocumentsJavaP FILE_NAME: NotH
18th May 2019, 9:49 PM
Rapt[#Demure]
Rapt[#Demure] - avatar
+ 11
for the beginners, it's very useful thing, to write in editor, and compile from console. This approach will allow you to understand that Java is a compiled language; if the jdk is installed right; also, what is a jvm from the great IDEs such Eclipse, NetBeans, Intellij and so on...
22nd Feb 2017, 10:17 PM
Ghena Ramascan
Ghena Ramascan - avatar
+ 9
You can also use NetBeans, it's a free IDE written in Java: https://netbeans.org/downloads/
22nd Feb 2017, 7:14 PM
Mirza Sisic
Mirza Sisic - avatar
+ 1
sure. but you'll compile and run java programms via console(javac, java tools)
22nd Feb 2017, 5:50 PM
Kirill Skubnikov
Kirill Skubnikov - avatar
+ 1
yes we can use notepad++.in fact it makes lot more easier than the notepad but save the file with .Java extension
27th Feb 2017, 7:09 PM
sandeep mohanty
+ 1
yes you can but its unusual...you can use intellij instead
5th Mar 2017, 11:21 AM
hamidreza sayahfar
hamidreza sayahfar - avatar
0
Yes but you have to compile the code manually. I recommend Eclipse.
22nd Feb 2017, 5:52 PM
Jonas
0
Yes Yes YES!!!
24th Feb 2017, 2:39 AM
Sofie
Sofie - avatar