
Mac Community Home
Articles and Books
JVM's and SDK's
Tools
More Info
|
Welcome to the Mac Java community
This community is for all things Macintosh and Java related. That may mean developing Java code on the Mac, with the various tools available to Mac developers... or it may mean running your Java code on the Mac, using available technologies to deliver a great experience to your Mac-based users... or even tying into technologies like Cocoa. If you have Mac-specific projects, weblogs, questions, or advice, this is the place to be.
This page is not officially affiliated with or endorsed by Apple Computer, Inc.
|
New Mac Java plug-in for Safari, Firefox coming?
Kirill Grouchnikov's Swing Links of the Week for November 30 makes an interesting reference to Bug 6761033 in Sun's Bug Database. "Use NPAPI for Mac OS X port of new Java Plug-In", indicated as "delivered" for 6u12(b01), refers to a new "prototype of the new Java Plug-In for Mac OS X" that uses Cocoa, making it compatible with Safari but not Firefox. The evaluation suggests Sun "collaborated with Apple to redo the Mac OS X port of the new Java Plug-In as an NPAPI and NPRuntime plugin", and now works with Safari 3.1 and nightly builds of Firefox. While it's listed as delivered for "6u12" -- update 10 and beyond have yet to appear on the Mac of course -- the bug reasserts that "We do not officially support
the Mac platform so it is not feasible to write a positive test case for these changes."
|
|
Why developers prefer Macs
InfoWorld has posted an article on Why developers prefer Macs, pointing out its popularity among Ruby, .NET, and Java developers. "Java development on the Mac is also very popular, in part because all the major Java development environments are written in Java. Therefore, Eclipse, IntelliJ, and NetBeans all run about the same on Windows, Mac, and Linux boxes." It singles out the popularity of mobile development as boosting the Mac's appeal: "Google's Android SDK and RIM's BlackBerry SDK both run in Java, a language that's usually well-supported on the Mac (though Java releases for Mac tend to lag behind those for Windows, Linux, and Solaris). " However, the article also notes competition from other flavors of Unix, and James Gosling's recently delcared preference for OpenSolaris over Mac OS X.
|
Developing mobility apps on Mac OS X and Solaris
So what can Mac users do (and I am one myself) to develop mobility apps on OS X? The recommended method currently really is to run Windows (or Linux) in virtualization (via VirtualBox, VMWare Fusion, or Parallels) and then the WTK on top of that virtualized OS. Not exactly elegant but it is generally pretty painless and works very well if your goal is to be productive and just get the job done. However, increasingly, people are also going the route of using Java ME emulators written in Java SE to provide mobility functionality on platforms that otherwise lack WTK support, such as OS X and Solaris. —
Terrence Barr (Sep 21, 2008)
Bye bye, Mac OS X?
If you follow my blog, you know that I've a bad attitude towards Apple's gear, even though (or just because?) I've been an Apple user for three years now. I've been frustrated by a) lack of support for Java updates, b) Mac OS X not performing as I need (Linux on the same hardware box is faster) and c) the scarce quality of my MacBook Pro (first generation). So, this week I can officially say that - at the moment - Mac OS X is no more my primary operating system. —
Fabrizio Giudici (Sep 15, 2008)
|
OpenJDK 7 for Mac OS X
Landon Fuller has announced that OpenJDK7 is now runnable on Mac OS X (and the BSDs) as part of the OpenJDK BSD Port project, culminating the efforts of his SoyLatte project to bring the latest open-source JDK to the Mac. "The move to OpenJDK -- and Sun's re-licensing of the code under the GPL license -- opens the project to any interested contributor." He suggests there's more work to do with JCK conformance testing, enabling dtrace support, PowerPC and ARM support via the Zero project, Core Audio-based sound support, and more. To facilitate user testing, Landon has also posted OpenJDK 7 binaries for Darwin (and, by extension, for Mac OS X). (Aug 21, 2008)
|
|
Rococoa
Offering a new route to using Cocoa classes in Mac Java applications, the new Rococoa project, "is a generic Java binding to the Mac Objective-C object system. It allows the creation and use of Objective-C objects in Java, and the implementation of Objective-C interfaces in Java." Using JNA to quickly wrap Objective-C calls, the project initially started as a QTKit wrapper to expose QuickTime functionality, Rococoa examples of which are provided on a QuickTime page. Fair warning from the project owner, though: "Rococoa is very much work in progress. Much is subject to change. A lot isn't good enough not to change. But given the recent deprecation of the Java-Cocoa bridge, it's the best I've got. Just mind your head. And please give feedback."
|
|
Quaqua Look and Feel 4.1
The Quaqua Look and Feel project for Mac OS X has released version 4.1. "The Quaqua Look and Feel is a user interface library for Java applications which wish to closely adhere to the Apple Human Interface Guidelines for Mac OS X," automatically switching between appropriate looks for the Tiger, Panther, and Jaguar versions of OS X, and providing Swing implementations of NSBrowser and NSSheet. "Version 4.1 includes a FileChooserUI which roughly simulates the native file dialogs in Mac OS X 10.5 Leopard. Except for panel backgrounds and frame borders, Quaqua still uses the Mac OS X 10.4 Tiger design."
|
 |
Chris Adamson
|
Joshua Marinacci
|
Daniel Steinberg
|
|
|
New MacBook Sheds Plastic, Goes LED
Apple CEO Steve Jobs unveiled a revamped MacBook line up during a special notebook-related media event in Cupertino on Tuesday. The new model sheds its plastic skin in favor of an all metal body like the just announced MacBook Pro, and also sports a 13.3-inch LED backlit glossy display.
[The Mac Observer]
 |
|
 |