source Code for check whether tehe java is installed on your device or not.

 Code for check whether tehe java is installed on your device or not.


      

ALSO YOU CAN COPY :

package TASKS;

public class CHECK_WHETHER_JAVA_INSTALLED {
public static void main(String[] args) {
System.out.println("Java Version : "+System.getProperty("java.version") );
System.out.println("Java Runtime Version : "+System.getProperty("java.runtime.version"));
System.out.println("Java Home : "+System.getProperty("java.home"));
System.out.println("Java Vendor : "+System.getProperty("java.vendor"));
System.out.println("Java Vendor Url : "+System.getProperty("java.vendor.url"));
System.out.println("Java Class Path : "+System.getProperty("java.class.path"));
}
}


IF you face any problem on running this code please tell us in the comment section
 we will help you.

THANKYOU FOR READING AND GET CONNECTED WITH US ! 

Comments

Post a Comment

Thank you! For contacting us we are not available right now you can ask your question we will contact you back soon.