Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

10/19/12

How to set path for java? - Yahoo! Answers

Discover
What are you looking for? What are you looking for? 1. 2. 3. 4. 5. Home > All Categories > Computers & Internet > Programming & Design > Resolved Question
Search Y! Answers

Advanced Search

bksrikan... Member since: March 02, 2007 Total points: 131 (Level 1) Add Contact Block

Resolved Question
Show me another

How to set path for java?


6 years ago Report Abuse

by sharma Member since: February 20, 2007 Total points: 170 (Level 1) Add Contact Block

Best Answer - Chosen by Voters


METHOD -1 open a notepad enter this set path=(drivein which java is stored):\program files\java\jdk(version)\bin; set classpath=(drivein which java is stored):\program files\java\jdk(version)\lib; save as "path.bat" in the folder where u have strored the javafile
answers.yahoo.com/question/index?qid=20070302070300AA4N0oX

open cammand editor

2/6

10/19/12

How to set path for java? - Yahoo! Answers

open cammand editor go to drive and folder enter "path" click ENTER now u can execute ur program METHOD-2 open cammand editor go to drive and folder and enter set path=(drivein which java is stored):\program files\java\jdk(version)\bin; set classpath=(drivein which java is stored):\program files\java\jdk(version)\lib; METHOD-3 go to MY COMPUTERS -->properties -->advanced -->environment variables now u have user variables and system variables below user variables u have 3 options new edit delete click on new a box with varaiable name and variable value gets opened enter variable name as 'class path' variable value as (drivein which java is stored):\program files\java\jdk(version)\lib; egs: C:\program files\Java\jdk1.6.0\lib; enter variable name as 'path' variable value as (drive in which java is stored):\program files\java\jdk(version)\bin; egs: C:\program files\Java\jdk1.6.0\bin; METHOD-3 SETS PATH PERMANENTLY. METHOD-1,METHOD-2 SHOULD BE DONE EVERY TIME U OPEN A COMMAND EDITOR 6 years ago Report Abuse 100% 1 Vote

Not the right answer? Try Yahoo! Search


Search Yahoo! for how to do path setting for java Search
answers.yahoo.com/question/index?qid=20070302070300AA4N0oX 3/6

You might also like