+ 1

Install Java

downloaded JDK 1.8.0_121 from Oracle.Opened file and Bin. went to My Computer..Properties..Adv System Settings.Enviro Variables..New..added Path.. Opened Command Prompt, typed Java and it said not found. what did I do wrong?

14th Mar 2017, 9:04 PM
spencer
spencer - avatar
11 Answers
+ 13
Nice to know you're using a Hewlett Packard 😄 Windows: cd to change to the directory where your java file is stored.
14th Mar 2017, 9:57 PM
Tashi N
Tashi N - avatar
+ 11
In the console, change to the directory where your Java file is stored.
14th Mar 2017, 9:51 PM
Tashi N
Tashi N - avatar
+ 11
Btw, command not found or file not found?
14th Mar 2017, 9:58 PM
Tashi N
Tashi N - avatar
+ 8
You set the wrong path in your environment. Follow the instructions of SoloLearns Java course: Basic concepts > Installing the JDK, lesson 2: ' Open the JDK folder, open the bin folder, and copy the path, which you will need to use in the next step.  For the JDK to work, you need to add its path to the PATH environment variable. To do that, right click on My Computer and go to Properties > Advanced system settings. Switch to the Advanced tab > Environment Variables and click on New button if PATH does not exist in the list. If PATH already exists, select it and click Edit. [...]' There are screenshots. Look at this lesson, it will help you.
16th Mar 2017, 10:30 PM
Tashi N
Tashi N - avatar
+ 8
Maybe you have set PATH twice (system and user)?
16th Mar 2017, 10:35 PM
Tashi N
Tashi N - avatar
+ 1
thanks for responses
14th Mar 2017, 11:51 PM
spencer
spencer - avatar
+ 1
thanks for reply...yes that's exactly what I did by following what the lesson stated exactly as you just stated
16th Mar 2017, 10:33 PM
spencer
spencer - avatar
0
Windows 7
14th Mar 2017, 9:53 PM
spencer
spencer - avatar
0
Hewlett Packard
14th Mar 2017, 9:53 PM
spencer
spencer - avatar
0
file not found
14th Mar 2017, 11:51 PM
spencer
spencer - avatar
0
hey I have repeated all steps in installing JSE from Oracle on computer Windows 7. Adding path to Environment etc. but when open Command Prompt and type in javac, says not recognized as an internal or external command, operable,program or batch file. what am I doing wrong? thanks
16th Mar 2017, 10:25 PM
spencer
spencer - avatar