didn't sun do this to microsoft? Not really, no.
Posted Aug 18, 2010 14:55 UTC (Wed) by Trelane
In reply to: didn't sun do this to microsoft?
Parent article: A very grumpy editor's thoughts on Oracle
Microsoft was sued for "trademark infringement, false advertising, breach of contract, unfair competition, interference with prospective economic advantage, and inducing breach of contract." (http://www.javaworld.com/javaworld/jw-10-1997/jw-10-lawsuit.html)
Regarding the differences between MSVM and a real JRE:
Typically, just recompiling your program with the standard Java compiler, instead of the Microsoft command-line or Visual J++ compiler, reveals which nonstandard classes are being accessed. Areas that may need work include differences in the security model, applet packaging (JAR vs. CAB files), and if used local scratch space through the ClientStoreManager ( com.ms.io.clientstorage package). Using technologies like J/Direct (instead of JNI), Windows Foundation Classes (WFC), and Application Foundation Classes (AFC), accessing any Microsoft Windows VM specific classes may require developers to substitute similar standard technologies.
However, if your applications or applets use any MS JVM-specific features, you will need to check for dependency issues and tune the code. Typically, just recompiling your program with the standard Java compiler reveals which nonstandard classes are being accessed.
So MSVM + Most of Java + Microsoft extensions. This is perhaps a bit different from "because the ms java implementation had support for a 2 button mouse or some such nonsense" (The JNI stuff is very understandable. Sun didn't have a desktop monopoly, so making Java able to run the same no matter what platform it was running on (standardizing the environment and making it hard to invoke native (i.e.must-be-ported-to-every-platform) libraries) was good for them. Microsoft, having a monopoly on desktop operating systems, would like to make it as hard for developers as possible to create cross-platform applications (so make Microsoft-specific extensions to an otherwise standard environment and make it easy to call native (i.e must-be-ported-to-every-platform) libraries.)
to post comments)