How to get the current java vendor and the current java vendor URL in Java

1 Answer

0 votes
public class MyClass {
    public static void main(String args[]) {
        System.out.println("Java Vendor: " + System.getProperty("java.vendor"));
        System.out.println("Java Vendor URL: " + System.getProperty("java.vendor.url"));
    }
}




/*
run:

Java Vendor: Oracle Corporation
Java Vendor URL: http://java.oracle.com/

*/

 



answered Aug 6, 2021 by avibootz

Related questions

...