0
Java 11 installed. Now where to write codes??
Hi guys, I'm learning java currently. I've installed java 11 the latest version of java and checked that in command prompt. now what to do to write codes and run them? is there anything else i need to download?????
6 Réponses
+ 2
If you want to use cmd:
Write code in any editor - (even notepad will do). Save file with class name and .java extension. Compile it and run it in cmd👍
+ 2
Roneel thanks a lot.. notepad installed in pc. can you plz give me some details about how do i compile and run it?
+ 2
Make new folder for saving files in C drive(not necessary but recommended). Then write cd\. Then type cd your_new_folder_address.
Then javac filename.java
After compilation java filename
+ 1
It is possible to use any text editor, but it is easier to use a real IDE like IntelliJ IDEA, because it features syntax highlighting, auto-completion, debugger, etc.
0
Moritz Vogel thank you so much for the information...