Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 7
Can we use notepad++ to work on java ?
8 Respostas
+ 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!!!