Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a vendor when talking about java?

Tags:

java

What is it exactly? The most information I could find this code (from http://sanjaal.com/java/tag/find-java-vendor/)

public class GetJavaVersionAndVendor {

    public static void main(String args [])
    {
        String version=System.getProperty("java.version");
        String vendor=System.getProperty("java.vendor");

        System.out.println("Java Version Is: "+version);
        System.out.println("Java Vendor Is: "+vendor);
    }

}

This code gave me the name "Oracle Corporation" which I guess is the developer of the Java version I currently have installed.

I also found out that the properties for listed as "Sun Microsystems Inc" have been rebranded to "Oracle Corporation". Thus, I make the assumption that this "vendor" has a property file. Is that correct?

like image 509
uranibaba Avatar asked Jul 02 '13 14:07

uranibaba


People also ask

How do I find a Java vendor?

You can use the non-standard -XshowSettings flag to show all settings, or alternatively -XshowSettings:properties to show all property settings. This will show you all properties one of which is java. vendor .

What are JDK vendors?

JDK vendors are companies who produce a version of the Java Development Kit. Gone are the days where we used to have just a single version by Oracle, we've now got multiple versions.


2 Answers

Vendor is just the creator/maintainer of the JVM. Sun was bought by Oracle a couple of years ago so the "Sun JVM" more or less got relabeled as the "Oracle JVM". There are a lot of different JVM implementations. Each one has to follow the JVM Spec. Take a look at the full List of JVMs

like image 79
Durandal Avatar answered Sep 25 '22 01:09

Durandal


Vendor means implementer of JVM, is JVM/JRE by Oracle (or) IBM (or) Some other. Each of these have their own implementation of JVM.

Example:

java.vendor = Sun Microsystems Inc. 
java.vendor.url = http://java.sun.com/ 
like image 23
kosa Avatar answered Sep 24 '22 01:09

kosa