0
Step not working
I just had to edit the path variable to add the new path but even after it still doesn't come up in the command prompt
4 Answers
0
what is your os and version? did you try in the exact path mentioned in the tutorial?
0
Windows 10 JDK 8 and yes
0
yes, we have to select the path first but you can also set it permanently by following steps
1.Open "this pc" properties .
2.click on advanced settings.
3.click on environmental variables.
4.click on edit.
5.copy the path of bin from installation folder.
6.past it after the existing paths
7.use " ; " to separate paths.
note- do not edit any existing paths.
0
creat new folder in c:
say java
save your program there
open cmd
type - c:\java
hit enter
it should take u to the program directory.
compile and run
javac programname.java
java classname