Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

<detailed instructions go here once MACOSX_PORT-105 is complete>

A prototype launcher stub is present in the source code at:

...

The next steps for this code is to be adapted into the JDK's proper Makefile-driven build system, and to create an artifact in the standard JDK bundle. After that, a script or Ant target which can be driven by and IDE should take that artifact and a application descriptor to create a proper .app.

Contributed steps to bundle from the macosx-port-dev@openjdk.java.net mailing list:

-----------------------------------------------------------
-----------------------------------------------------------

...

I also need to find the /frameworks/Cocoa.framework/Headers/Cocoa.h reference. I used the one hosted in /System/Library/Frameworks/Cocoa.framework/Versions/A/Headers/ directory.

Wiki MarkupI specified all the 'Location' paths in the Xcode UI as \ [Absolute Path\]

STEP 4. Build the project in Xcode. If all goes well you'll find the product JavaAppLauncher.app which will give you a template to base your own app bundle from. Xcode will give you the path of the project output. Mine was :

...