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?????

17th Nov 2018, 3:07 PM
Tanvir Hassan Kabir
Tanvir Hassan Kabir - avatar
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👍
17th Nov 2018, 3:11 PM
Roneel
Roneel - avatar
+ 2
Roneel thanks a lot.. notepad installed in pc. can you plz give me some details about how do i compile and run it?
17th Nov 2018, 3:14 PM
Tanvir Hassan Kabir
Tanvir Hassan Kabir - avatar
+ 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
17th Nov 2018, 3:21 PM
Roneel
Roneel - avatar
+ 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.
17th Nov 2018, 11:17 PM
Moritz Vogel
Moritz Vogel - avatar
0
Moritz Vogel thank you so much for the information...
18th Nov 2018, 1:56 AM
Tanvir Hassan Kabir
Tanvir Hassan Kabir - avatar