Lot of Mobile devices are coming with JVM with its OS(for example Nokia,sony ericcson).will all devices have same JVM? are all JVMs owned by sun micro systems? has device manufacturer paid for it to sun micro sytems? suppose If i want to creat my OWN JVM, I have to pay to sun micro sytems and get permission from SUN(ORACLE)? If it is not true, how sun gets profit?
3 Answers. Show activity on this post. Sun of course owns the copyright for the Sun JVM, Hotspot, but this implementation is now licensed to the public under GPLv2, as part of OpenJDK.
Runtime Instance Whenever you write java command on the command prompt to run the java class, an instance of JVM is created.
There are many JVM implementations, both open source as well as proprietary. Hotspot JVM is one of the most frequently used JVM. Most licensed JVM's are often created to provide OS-specific performance improvements. Generally, you can download and install the JVM as a bundled part of Java Runtime Environment (JRE).
Sun of course owns the copyright for the Sun JVM, Hotspot, but this implementation is now licensed to the public under GPLv2, as part of OpenJDK. Further, Upul is correct that any company can implement the JVM Specification, and many have. Well-known implementations include Harmony, Jikes, and Kaffe. All of these have different levels of compliance with the specifications. Most device manufacturers still license the proprietary version of Hotspot from Sun directly.
Sun has restricted the Java Compatibility Kit, a set of tests used to prove compliance. However, even this has been loosened slightly. Now other implementations based on OpenJDK can more easily get JCK licenses.
However, this does not apply to independent free software implementations like Harmony. That is part of why Android chose not to try to implement Java fully, and instead made independent technical decisions that led them to Dalvik and a separate API.
Sun also holds patents, but they have not asserted them publicly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With