I was tryg 2 add the path 2 Java & Im pretty sure I messed it up bc cmd didn't recognize javac. Is there a way to start all over | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I was tryg 2 add the path 2 Java & Im pretty sure I messed it up bc cmd didn't recognize javac. Is there a way to start all over

excuse my late responses, I have to go to work but any assistance will be greatly appreciated

4th Dec 2016, 8:57 PM
Wayne Porter
Wayne Porter - avatar
4 Answers
+ 3
From Stack Overflow: Typing the SET PATH command into the command shell every time you fire it up could get old for you pretty fast. Run javac from a batch (.CMD) file. Then you can just put the SET PATH into that file before your javac execution. Or you could do without the SET PATH if you simply code the explicit path to javac.exe
5th Dec 2016, 9:10 AM
Nahuel
Nahuel - avatar
+ 2
very likely that you moved the JDK . The hard way it's getting back in the folder, the easier way, reinstall JDK.
4th Dec 2016, 9:21 PM
Nahuel
Nahuel - avatar
+ 1
I reinstalled it, buy the path is still the same as it was when I changed it
5th Dec 2016, 8:59 AM
Wayne Porter
Wayne Porter - avatar
+ 1
I figured out my issue, I didn't copy the right path, thanks for all of your assistance
5th Dec 2016, 9:36 AM
Wayne Porter
Wayne Porter - avatar