Discussions
Categories
- 385.5K All Categories
- 4.9K Data
- 2.5K Big Data Appliance
- 2.4K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
Newbie & Windows 10 setup

Hi everyone! Newbie/noon in the house warning/alert
Running Windows 10, 64 bix
Running JDK: jdk1.7.0_80
I am installing Java SDK (installed, not a problem).
I have installed Eclipse as well (installed, not a problem)
So I am trying to configure my PATH settings to finish out the install of the Java SDK and I am trying to do it for Windows 10.
Problem is when I get to the "Environment Variables" and set the PATH variable. In a nutshell, I am getting a different window then what the directions show/say.
For example:
Here are all of the steps I am trying to complete: http://java-buddy.blogspot.com/2015/08/install-jdk-8-on-windows-10-and-set-path.html#comment-form
And on the last steps, when I have clicked through to System Properties> Environment Variables box>
Click on the word "PATH" in the lower box labeled "System Variables"
then click on the "edit" button, the box that comes up for me (this happens on my laptop and PC :-/ ) is the "Edit Environment Variable" box!!! :-(
It should open a 2 line window "Edit System Variable" and have 2 lines....Variable Name & Variable Value.
++Note++ This is a screen shot of what should open, not what happens for me.
Again I am getting the same behavior from installing on my laptop and my desktop.
----------------------------------------------------------------------
When I run the command line prompt "java" (no quotes), it runs fine
When I run the command line prompt "java -version" (no quotes), I get these 3 lines returned:
When I run the command line prompt "javac" (no quotes),
Thanks for your time and expertise to a
Answers
-
So I am trying to configure my PATH settings to finish out the install of the Java SDK and I am trying to do it for Windows 10.
I suggest you first create an environment variable JAVA_HOME and set it to point to the Java folder you installed. This should be the folder ABOVE the 'bin' folder.
Problem is when I get to the "Environment Variables" and set the PATH variable. In a nutshell, I am getting a different window then what the directions show/say.
That's ok - use what YOUR screen shows you.
It should open a 2 line window "Edit System Variable" and have 2 lines....Variable Name & Variable Value. ++Note++ This is a screen shot of what should open, not what happens for me.
No - YOU did NOT write the Windows code - Microsoft wrote it. Use what they gave you.
You selected the PATH variable and, to make it EASIER for people, that parsed the path and put EACH value on a separate line. Then all those buttons make it easy to move things up/down/other and get them in the order you want them.
So just select 'New' and add your new value. Then make sure it is the FIRST one of the list. If it isn't then use the buttons to move it up to first position.
If you did what I suggested and created a JAVA_HOME variable then your entry will look like
%JAVA_HOME/bin
Otherwise you have put the full path to that bin folder.
When I run the command line prompt "java" (no quotes), it runs fine When I run the command line prompt "java -version" (no quotes), I get these 3 lines returned
Yes - because the install will put the exe in the Windows system folder where anyone can find it.
When I run the command line prompt "javac" (no quotes),
Yes - because you haven't set the PATH to the Java 'bin' folder yet. The install does NOT put the 'javac' executable in the Windows system folder; only the Java executable.
The Java Tutorials has trails that cover ALL of the basic Java functionality including how to properly set the PATH and CLASSPATH variables.
https://docs.oracle.com/javase/tutorial/essential/environment/paths.html
-
I've got the following instructions from How to set the path in Microsoft Windows, and it really helped me. I was having the same problem.
Setting the path and variables in Windows 8 and Windows 10
- From the Desktop, right-click the very bottom left corner of the screen to get the Power User Task Menu.
- From the Power User Task Menu, click System.
- Click the Advanced System Settings link in the left column.
- In the System Properties window, click on the Advanced tab, then click theEnvironment Variables button near the bottom of that tab.
- In the Environment Variables window (pictured below), highlight the Path variable in the "System variables" section and click the Edit button. Add or modify the path lines with the paths you want the computer to access. Each different directory is separated with a semicolon as shown below.
C:\Program Files;C:\Winnt;C:\Winnt\System32
Also, make sure you provide the path for the 64-bit version, as well.
C:\Program Files\Java\jdk1.8.0_66\bin