Tuesday 26 August 2014

Get JRE vendor URL

Use property "java.vendor.url" to get the JRE vendor URL.

public class GetProperty {
    public static void main(String args[]){
        System.out.println(System.getProperty("java.vendor.url"));
    }
}

Output
http://java.oracle.com/


                                                             Home

No comments:

Post a Comment