How to setup Classpath variable for Java 8 in Windows 8


classpath variable for java – To setup Classpath variable for Java 8 in Windows 8 -> Right Click on My Computer -> Click on Properties
System Settings in Windows 8
System Settings in Windows 8

Java – Download Free EBooks and Whitepapers

Click on Advanced System Settings

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

 

Advanced System Settings in Windows 8
Advanced System Settings in Windows 8

Click on Environment Variable to set Class Path Variable for JAVA_HOME

Advanced System Settings in Windows 8 - Java Home Environment Variable
Advanced System Settings in Windows 8 – Java Home Environment Variable

Click on User variables for Admin and Add Variable Java_Home without “bin”.

Edit Path Variable with bin

Advanced System Settings in Windows 8 - Path Environment Variable
Advanced System Settings in Windows 8 – Path Environment Variable

Now verify javac and java command on command prompt.

 

javac
javac

 

java
java
Advertisements

One thought on “How to setup Classpath variable for Java 8 in Windows 8”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s