+ 2
Can l program Java with notpad
5 Respostas
+ 5
With command line compilation, it's possible.
+ 3
Of course you can write Java programs with notepad, but you have to compile them manually from the command prompt with the Java compiler „javac“.
+ 3
Yeah. To run the code:
1. Write your code
2. Save it as myCode.java
3. Open CMD and navigate to the location of your java file
4. Type in "javac myCode.java"
5. Finally type in "java myCode". This will run your code.
But it's easier to use an IDE like Eclipse or Netbeans which does all this process automatically for you.
First of all you need to install JRE and JDK in both cases.
+ 2
Yes we can. And it's the best way to learn java without using any IDE. Just set up your path in environment. And run your code in cmd. Compile it and run it. It's fun to use.
If you have any doubt plase I suggest you to Youtube it. It will help you a lot.
+ 1
Eh, you need to compile the file; but I don't know if notpad can compile java files.