
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.
|
Building a JNI Universal Application with Xcode
The Java Native Interface (JNI) lets developers mix Java code with C or C++ source code. It provides access to platform-specific features that Java does not provide, so that Java applications on Mac OS X can take advantage of the wide range of powerful Apple-only technologies to provide the best possible user experience. Using the JNI, your Java application can access a user's Address Book, make Spotlight queries, take advantage of Core Image and Core Video, and leverage many other rich features unique to Mac OS X.
The tutorial Building a JNI Universal Application with Xcode explains how to use the JNI to integrate Java and C code using a single Xcode project with multiple targets. In addition, the resulting JNI library will be a universal binary, allowing the Java application to run properly on both Intel-based and PowerPC-based Macs.
|
|
MochaCode Preview 2 Released
Yori Mihalakopoulos has released Public Preview 2 of MochaCode a Mac-only Java IDE. The new version improves syntax highlighting, error highlighting, code completion and editing in general, has a new look and feel for code completion, adds error and warning icons to the gutter and tabs, adds a crash reporter, and fixes a number of bugs. Version 2.1, released a day after 2.0, fixes a few more bugs.
|
The falling myth of Apple reliability
Some latest Apple's Mac OS X updates have caused severe troubles to users because of introduced instability. One of them is related to the capability of running some Java applications.Let me just sum up what happened to me in the latest days. —
Fabrizio Giudici (Jul 16, 2007)
Java on OS X, it's not dead...
In the I'm not dead yet category we have Java on Mac OS X Leopard to be 64-bit, resolution independent talking about Java sessions at WWDC. He says the WWDC program guide has statements about the Java that's to be included in Leopard (10.5) will be 64 bit and include support for various core OS X technologies such as resolution independence. —
David Herron (Jun 13, 2007)
Java 6, Mac OS and Substance
The topic of Apple being late to release the final JDK 6.0 for Mac is being discussed on the web in the past few months (see here, here,
here,
here and
here for a small sample). One question that is always asked in return is what exactly is missing in the latest dev build (b88) that Apple has provided? —
Kirill Grouchnikov (Jun 08, 2007)
|
Java Implicated in Safari-based Security Exploit
Dino Dai Zovi and Shane Macaulay have won a CanSecWest conference's security challenge by gaining shell-level access to an up-to-date MacBook through use of a malicious web page. According to the Matasano Chargen blog page tracking the story, the current work-around to the security hole is to turn off Java in the browser, implying that the exploit uses Java in some way. While the original attack worked through Safari, Matasano reports the attack affects Firefox as well. Details about the specifics of the vulnerability to follow at a later date. (Apr 23, 2007)
|
JMacAddressBook project
Providing another Java wrapper to OS X-specific functionality, JMacAddressBook project " aims to deliver Java APIs that can pass communication to Apple's C-based address book APIs. This would enable developers to have a Java API similar to apple's C ones, in order to access, control and modify the address book." While the initial code relies on OS X's Java-AppleScript bridge, future versions will use JNI
Java-AppleScript Connector
Want to tell application "Finder" to open the trash in a Java app? The Java-AppleScript Connector (jasconn) project is a JSR-223-compliant mechanism for using AppleScript code within Java. jasconn is not an implementation of AppleScript; it is a bridge between Java and the native Mac OS X AppleScript libraries. To use it, you need to be running the developer preview of Java SE 6 for Mac OS X, available from the Apple Developer Connection.
IntelliWO
The new IntelliWO project "makes WebObjects development nicer on IntelliJ." Specifically, it enables WebObjects-specific files or bundles (such as .wo and .eomodeld files) to be opened from within IntelliJ, adds an action button to open the corresponding .wo component file when its .java class is open in the editor, and Listens for network requests on port 4050 and displays a java file or WO component when certain HTTP requests are received on that port.
Woof project
Woof! The Mac Java Community's new Woof project improves life for developers using Apple technologies by allowing you to use FileMaker as a data-store for WebObjects. Along with a JDBCPlugIn for WebObjects, it provides a FileMaker JDBC driver "which is faster, less buggy, and more standards-compliant than the previous JDBC driver from FileMaker."
Quaqua Look and Feel
A recent addition to the Mac Java Community, 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." It offers a nearly native user experience, adjusting its look to suit the version of Mac OS X (Tiger, Panther, or Jaguar) being run. Quaqua also provides Swing implementations of the Cocoa NSBrowser and NSSheet (as JBrowser and JSheet).
QuickTime Amateur
Want QuickTime Pro Player without the Pro fee? Amateur describes itself as "a free clone of Apple's QuickTime Player implemented in Swing using QuickTime for Java. However it is uncrippled and does not require registration or a serial number to provide full functionality." Project founder Elliotte Rusty Harold describes the project, its motivation, and its goals in his announcement to the quicktime-java list.
Don't Forget About Projects!
A note from your community leaders: while we enjoy bringing you news and features about Java and the Mac, don't forget that java.net is also a great place to host your open source project. Hosting on java.net lets your project have forums, mailing lists, a wiki, cvs, and more... for free! We hope that those of you working on projects of interest to the Mac Java community will consider hosting them here. To get started, just click that Request a project link from the usual java.net sidebar. (Feb 08, 2005)
|
Open QTJ
The OpenQTJ project has graduated from the incubator and joined the Mac Java Community. This project is a collection of resources related to QuickTime for Java, including updated demos, tutorials, workarounds for problematic API's, etc.
|
MRJ Adapter
MRJ Adapter provides a consistent means of addressing Mac-specific behavior, like tying into standard Mac "about" and "preferences" dialogs or opening the application associated with a document. This shields the developer from the ever-changing Apple Java API's, and handles things that aren't provided by Apple, like maintaining the monolithic menu bar when no (J)Frame is visible.
|
Java Programming on the Mac Column at MacDevCenter.com
Whether you're a hobbyist or a commercial developer, there's a compelling Java story on Mac OS X. In this column our very own java.net Editor, Daniel Steinberg, presents examples for developers looking for cross-platform solutions as well as those who want to write Mac OS X-specific applications in Java.
|
 |
Chris Adamson
|
Joshua Marinacci
|
Daniel Steinberg
|
|
|
Apple Says Leopard Delayed Until October
Apple released a statment on Thursday saying that Mac OS X 10.5, Leopard, will
be delayed until October 2007. The company cited resources that had been diverted away from Mac OS X to complete iPhone as the cause of the delay.
[The Mac Observer]
 |
|
News: Analysts not concerned by Leopard delay
While Mac users have expressed disappointment and frustration that Leopard's ship date has slipped to October, analysts say it's the right move for Apple if it allows the company to ship the high-profile iPhone on time.
[MacCentral]
 |
|
 |