How to Set Path in JAVA
Step-1 Go
to This Pc Properties
Step-2
Click on Advanced System Settings
Step-3
Click on Environment Variables
Step -4 Click on New User
variable
Step-5 Write the variable name
and Variable value
Step-6 Copy the path of the JDK

Step-7 Select System variable
path
Step-8 Click on Edit
Step-9 Copy the JDK bin folder
path and paste
Step -9
Click on Edit
Environment variable “OK” button >Click on Environment variable “OK”
button >Click on “Apply” &“OK” button
How to Check variable are set correctly:
Step -10 Open Command prompt
Step-11
- To check Java version
type command javac -
- To Check JDK bin folder
location type command where
- Folder location should
be same that you had set in path
No comments:
Post a Comment