Step not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

19th Aug 2016, 1:48 AM
Nicholas Ayrton
Nicholas Ayrton - avatar
4 Answers
0
what is your os and version? did you try in the exact path mentioned in the tutorial?
19th Aug 2016, 2:24 AM
Kashi viswanathan
Kashi viswanathan - avatar
0
Windows 10 JDK 8 and yes
19th Aug 2016, 2:29 AM
Nicholas Ayrton
Nicholas Ayrton - avatar
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.
21st Aug 2016, 4:39 AM
dhairyashil patil
dhairyashil patil - avatar
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
21st Aug 2016, 4:43 AM
dhairyashil patil
dhairyashil patil - avatar