Core Java Interview questions


Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

How to set JAVA_HOME or JRE_HOME environment variable in windows 7 and 8?

 In Windows 7 right click My Computer and select Properties > Advanced.
 In Windows 8 go to Control Panel > System > Advanced System Settings.
 Click the Environment Variables button.
 Under System Variables, click New.In the Variable Name field, enter:JAVA_HOME or JRE_HOME
 In the Variable Value field, enter your JDK or JRE installation path for eg, C:Progra~1Javajdk1.8.0_65.




Next 2 interview question(s)

1

Which environment variable points to java home directory?

2

What is CLASSPATH and is the purpose of it?