OCPJP 6.
In Your Pursuit Towards Certification, NEVER Give Up.
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ankit Garg wrote:
Instead of saying
javac -cp C:\Program Files\Java\jdk1.6.0_20\lib\tools.jar
you can say
javac -cp %JAVA_HOME%\lib\tools.jar
OCPJP 6.
In Your Pursuit Towards Certification, NEVER Give Up.
Ankit Garg wrote:The JAVA_HOME environment variable generally points to the directory where JDK is installed. Now I've never seen any question which uses it so I'm not sure how its used in questions. Basically its an alternative to the complete path of the java installation. So instead of saying
javac -cp C:\Program Files\Java\jdk1.6.0_20\lib\tools.jar
you can say
javac -cp %JAVA_HOME%\lib\tools.jar
OCPJP 6.
In Your Pursuit Towards Certification, NEVER Give Up.
Javin Paul wrote:
but frankly speaking I have not seen any question using JAVA_HOME in exams if by any chance they use they might suggest where it is pointing or simply for reference purpose.
OCPJP 6.
In Your Pursuit Towards Certification, NEVER Give Up.
OCPJP 6.
In Your Pursuit Towards Certification, NEVER Give Up.