+ 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?
11 Respostas
+ 13
Nice to know you're using a Hewlett Packard 😄
Windows: cd to change to the directory where your java file is stored.
+ 11
In the console, change to the directory where your Java file is stored.
+ 11
Btw, command not found or file not found?
+ 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.
+ 8
Maybe you have set PATH twice (system and user)?
+ 1
thanks for responses
+ 1
thanks for reply...yes that's exactly what I did by following what the lesson stated exactly as you just stated
0
Windows 7
0
Hewlett Packard
0
file not found
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