If
you are saving the java source file inside jdk/bin directory,then path
is not required to be set because all the tools will be available in the
current directory.
•Copy
the path of jdk/bin
directory
•Open
cmd
•Paste
in cmd
Eg.
setpath=C:\Program
Files\Java\jdk1.8.0_20\bin.
3. Permanent Path Set
•Write
click on my computer select properties and go to the advance system setting and
select environmental variable.
•Click
on new and put variable name=path
•copy
the path of jdk/bin
directory
•Paste
in variable value
Eg.
Variable name=path
variable value=C:\Program Files\Java\jdk1.8.0_20\bin
Subscribe to:
Post Comments
(
Atom
)
No comments