I wrote my program in Java on OS X, and I am wanting to bundle my .JAR into a runnable .APP so I can distribute my program. I am running OS X 10.9, and I cannot find Apple's JarBundler.app on my machine. I looked at Oracles Jar Bundler solution and it requires a .plist for it. So my question is, how do I create the plist I need and can I manually build my .app?
Solution:
After enough tweaking I was finally able to get my java application to bundle and run as a .app.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrefPaneIconFile</key>
<string>NotesClonerIcon.icns</string>
<key>Java</key>
<dict>
<key>JVMVersion</key>
<string>1.6+</string>
<key>MainClass</key>
<string>Notes_Cloner</string>
<key>ClassPath</key>
<string>$JAVAROOT/NotesCloner.jar</string>
<key>Properties</key>
<dict>
<key>java.library.path</key>
<string>$JAVAROOT/</string>
</dict>
</dict>
<key>Properties</key>
<dict>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
</dict>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleIconFile</key>
<string>NotesClonerIcon.icns</string>
<key>WorkingDirectory</key>
<string>$APP_PACKAGE/Contents/Resources/</string>
<key>CFBundleName</key>
<string>Notes Cloner Mac</string>
<key>CFBundleDisplayName</key>
<string>Notes Cloner Mac</string>
<key>NSPrefPaneIconLabel</key>
<string>Notes Cloner Preferences</string>
<key>CFBundleGetInfoString</key>
<string>Written By:Larry Wells </string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2013, Larry Wells,All Rights Reserved.</string>
<key>CFBundleIdentifier</key>
<string>com.LarryWells.NotesClonerMac</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>1.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
</dict>
</plist>