+ 7
Can we use notepad++ to work on java ?
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
+ 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...
+ 9
You can also use NetBeans, it's a free IDE written in Java:
https://netbeans.org/downloads/
+ 1
sure. but you'll compile and run java programms via console(javac, java tools)
+ 1
yes we can use notepad++.in fact it makes lot more easier than the notepad but save the file with .Java extension
+ 1
yes you can but its unusual...you can use intellij instead
0
Yes but you have to compile the code manually.
I recommend Eclipse.
0
Yes Yes YES!!!