This tutorial will show you the step by step process, how to set up Java environment variables.
Step 1: First go the Setting window in the start menu.
Step 2: Go to About window
Step 3: Go to System Info window
Step 4: Go to Advanced tab and then click Environment Variables button
Step 5: Set up PATH variable
Setup Variable value as the JDK bin folders path.
Ex: C:\Program Files\Java\jdk-11.0.1\bin
Step 6: Step up CLASSPATH variable
Step 7: Now open a command window and type JAVAC, if you get the following output. You successfully followed the steps.
Please post your errors, we'll figure it out to solve.
Step 1: First go the Setting window in the start menu.
Step 2: Go to About window
Step 3: Go to System Info window
Step 4: Go to Advanced tab and then click Environment Variables button
Step 5: Set up PATH variable
Ex: C:\Program Files\Java\jdk-11.0.1\bin
Step 6: Step up CLASSPATH variable
Please post your errors, we'll figure it out to solve.
Comments
Post a Comment