How if JDK not successfully install? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How if JDK not successfully install?

I have already reach the step in command prompt. Before this every things is done well. When I insert javac in command prompt ,system said that it could not recognized. How to do with this problem? Thanks you

14th Feb 2017, 1:38 AM
freedom
6 Answers
0
Is your Java/bin folder in your system PATH?
14th Feb 2017, 1:47 AM
DaemonThread
DaemonThread - avatar
0
You need to set the Java/bin folder to system PATH variable. Just follow the following steps. 1)From the desktop, right click the Computer icon. 2)Choose Properties from the context menu. 3)Click the Advanced system settings link. 4)Click Environment Variables. 5)In the section System Variables, find the PATH environment variable and select it. 6)Click Edit. 7)If the PATH environment variable does not exist, click New. 8)In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. 9)Close all remaining windows by clicking OK. 10)Reopen Command prompt window, and run your java code.
14th Feb 2017, 2:08 AM
Varun Moghe
Varun Moghe - avatar
0
OK the problem have solved, thanks! :)
14th Feb 2017, 4:18 AM
freedom
0
Its not working for me and I already did those steps
14th Feb 2017, 6:28 PM
Ninja Gaming- Minecraft
Ninja Gaming- Minecraft - avatar
0
Make sure that you click okay and close both the Environment Variables and Advanced system settings windows. After doing that make sure you open a new command prompt. Go back and check your path if it doesn't work.
15th Feb 2017, 11:38 AM
Greg Watts
Greg Watts - avatar
0
Where is the pin folder link
1st Mar 2017, 12:08 AM
Mohamad Al zein
Mohamad Al zein - avatar