Newsletter sign-up
View all newsletters

Sign up for our Enterprise Java Newsletter

Enterprise Java

Java news from this summer's Macworld Expo in New York

Recent conference gave Apple and Mac developers a chance to present products and plans to other Mac developers and Mac faithful -- and provided a good opportunity to examine the state of Java on the Mac

  • Digg
  • Reddit
  • SlashDot
  • Stumble
  • del.icio.us
  • Technorati
  • dzone
Soon, Apple's Macintosh Runtime for Java (MRJ) will be the only Java virtual machine (JVM) on the Macintosh platform. This puts the responsibility for Java performance on the Mac in Apple's hands. The issues of speed and reliability are being addressed, but Apple remains several releases behind the Solaris and Windows VMs. Support for JDK 1.1.6 is scheduled for the fall. Apple is hoping to support JDK 1.2 three to six months after Sun's final version is posted. Here we examine the recent accomplishments and immediate plans of the MRJ team and present highlights from the panel discussion on the state of Java on the Mac that took place at the recent Macworld Expo in New York.

One VM on the Mac

By the end of the year, Apple's MRJ will be only Java virtual machine (JVM) on the Mac. "Write-once, test-everywhere" didn't just mean developers had to test on each of their target platforms -- they also had to test on each VM on each platform. Metrowerks President and CTO Greg Galanos sees having a single VM on the Mac as a benefit to both developers and customers.

Why were there multiple VMs on the Mac? Over a year ago, Galanos explained that since "there wasn't a VM available on the Mac, we developed one. However, the Java virtual machine is really OS software, and we will support Apple's Java VM for the Mac as soon as they begin shipping in parallel with the Solaris and Windows versions."

The current version of Metrowerks's CodeWarrior Pro will be the last to include the Metrowerks VM. The company plans to use Apple's MRJ in September's CodeWarrior Pro 4 release and subsequent releases.

Microsoft partnered with Metrowerks on its VM. The current version of Microsoft's Internet Explorer (IE) for the Mac allows users to choose between Microsoft's VM and Apple's MRJ. As soon as the MRJ team has worked out a few more details requested by Microsoft, MRJ will be the only option.

MRJ is also working on a plug-in for Netscape's Navigator. Gary Little, Apple's Java product manager, explains that "Navigator 5 (which should beta later this year) will have an 'Open Java Interface' which is a plug-in interface that should allow us to integrate our Java in very nicely."

Partly responsible for causing a stir in the Mac Java community is the coupling of an announcement that there would be a single VM on the Mac with an announcement that Apple and Microsoft would collaborate on Java for the Mac. This caused concern because Microsoft is not supporting all of Java in its Windows implementation. In particular, Microsoft does not support the Java Native Interface (JNI) and Remote Method Invocation (RMI).

Apple's Little stresses that MRJ will support all features in Sun's core Java specification (MRJ 2.0 does support all of the 1.1.x features). The Microsoft collaboration will not affect Apple's support for JNI and RMI. Little explains that much of the Microsoft collaboration will help make MRJ work better inside of Microsoft IE and support its security level. Also, Apple plans to port over some of the features of Microsoft's J/Direct that haven't yet appeared in Apple's JDirect (used to access the toolbox and underlying shared libraries).

  • Digg
  • Reddit
  • SlashDot
  • Stumble
  • del.icio.us
  • Technorati
  • dzone
Comment
Login
Forgot your account info?
Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a JavaWorld account? Log in here. Register now for a free account.
Resources
  • Coverage of Steve Jobs's keynote address at this summer's Macworld Expo in New York can be found at http://www.javaworld.com/jw-08-1998/jw-08-mwkeynote.html
  • Coverage of last summer's Macworld Expo in Boston can be found in JavaWorld's article http://www.javaworld.com/jw-09-1997/jw-09-partnership.html
  • Apple's home page, including information and its online store, can be found at http://www.apple.com
  • The Apple Java MRJ page can be found at http://applejava.apple.com
  • Jeff Pettelkau's Macworld articles on MacOS X can be found in the current issue of the magazine or at http://macworld.zdnet.com/pages/august.98/Feature.4406.html
  • Pettelkau's Macworld articles on MacOS 8.5 are online at http://macworld.zdnet.com/pages/august.98/Feature.4407.html
  • Blueworld's home page is http://www.blueworld.com
  • Metrowerks can be found at http://www.metrowerks.com
  • Elliotte Rusty Harold's Cafe au Lait Java site is at http://sunsite.unc.edu/javafaq