Disclaimer::
This Site is Only for SUNIL V PAUL and his Family
1. സുനില്‍ .വി.പോള്‍ 2.സീന ആന്റണി ഒലക്കേങ്കില്‍ 3.ക്രിസ്റ്റ റോസ്.വി.എസ്. 4.ആല്‍ഫ്രഡ് പോള്‍ .വി.എസ്.

Any other person has no permission to access or alter or use the details of my site.
Neither SUNIL V PAUL nor HIS FAMILY is responsible for any error that may have crept in the ADDRESS OR DETAILS OF THE SITES being published on net
.

Sunday, February 22, 2009

JAVA PATH
Computer->PROPERTIES->Advanced System settings->Advanced->Environmentvariables->user variable for ...->NEW->

then write Variable name as
CLASSPATH
and variable value as
.;C:\Program Files\Java\jre1.6.0\lib\rt.jar;C:\Program Files\Java\jdk1.6.0\lib\tools.jar;C:\Program Files\Java\jdk1.6.0\lib\dt.jar;

(ie write the full path of dt.jar,rt.jar,tools.jar)

then
from System variables
select path->edit->add one more line in the line Variable value
C:\Program Files\Java\jdk1.6.0\bin;

To test the installed java
run->cmd->c:/->java -version

To compile
javac nameofthefile.java

To execute
java nameofthefile

No comments:

Post a Comment