Microsoft aims for Java compliance

The company releases a new version of Java technology for its Windows operating system and Web browser that it says follows a recent court order.

Stephen Shankland principal writer
Stephen Shankland has been a reporter at CNET since 1998 and writes about processors, digital photography, AI, quantum computing, computer science, materials science, supercomputers, drones, browsers, 3D printing, USB, and new computing technology in general. He has a soft spot in his heart for standards groups and I/O interfaces. His first big scoop was about radioactive cat poop.
Expertise processors, semiconductors, web browsers, quantum computing, supercomputers, AI, 3D printing, drones, computer science, physics, programming, materials science, USB, UWB, Android, digital photography, science Credentials
  • I've been covering the technology industry for 24 years and was a science writer for five years before that. I've got deep expertise in microprocessors, digital photography, computer hardware and software, internet standards, web technology, and other dee
Stephen Shankland
2 min read
Microsoft today released a new version of Java technology for its Windows operating system and Web browser that it says complies with a recent court ruling and improves performance.

The modifications are a part of Microsoft's new See related story:
Microsoft's holy war on JavaJava "virtual machine" for Windows 95, 98, NT, and for its Windows version of the Internet Explorer 4 Web browser. A Java virtual machine lets Java programs run on a computer that otherwise might not be able to understand Java.

The details of how Microsoft implements Java technology have been under scrutiny in a lawsuit between Microsoft and Sun Microsystems, the developer of Java.

In a November preliminary injunction against Microsoft, Judge Ronald Whyte gave Microsoft 90 days to make its products compatible with Sun's Java compatibility tests. The issue is important to Sun as the Palo Alto company tries to make its Java language fulfill its promise of "write once, run anywhere" universality.

One of the compatibility issues is the way a Java virtual machine will invoke code written in the native language of a computer. Sun specifies one way, the Java Native Interface (JNI), but until this new version of Microsoft's Java virtual machine, Microsoft used its own ways, the Raw Native Interface (RNI) and J/Direct.

Microsoft's new virtual machine adds support for Sun's JNI, satisfying the legal requirements for Microsoft's Java virtual machine for Windows, said Charles Fitzgerald, a group manager at Microsoft.

However, Microsoft still has to deal with legal requirements for other Microsoft software, such as its development tools that help programmers write Java programs, Fitzgerald said.

The new Windows version of the Java virtual machine has faster performance, Fitzgerald added. Chief among those features is a new just-in-time compiler, software that translates an entire Java program into a computer's native language in one fell swoop instead of line-by-line. The new virtual machine also has more tools to catch bugs and makes it easier for programmers to write Java modules that plug into other programs, he said.

Microsoft's way to deal with the Java virtual machine legal issue on the Macintosh platform was to help users configure Internet Explorer so it uses another company's Java virtual machine, such as one supplied by Apple.

The Java virtual machine issue doesn't emerge in Unix versions of Internet Explorer, because those versions didn't have Microsoft Java virtual machine, but instead relied on software from the vendor of that Unix platform, Fitzgerald said.