net.ajaest.lib.util.tools.mac
Class MacJarLauncher

java.lang.Object
  extended by net.ajaest.lib.util.tools.mac.MacJarLauncher

public class MacJarLauncher
extends java.lang.Object

Workaround to launch Java apps linking in mac OS. Legacy is not tested, only in mac book pro 15' 2010 An ".class" binary of this class must be in the "Contents/Resources/Java/net/ajaest/lib/util/mac/" folder of the "whatever.app" file system. The launcher is made using mac jar bundler choosing as Main class this class and passing as unique argument the name of the jar jar file to launch in "whatever.app/.." folder.

Author:
Luis Alfonso Arce González

Constructor Summary
MacJarLauncher()
           
 
Method Summary
static void main(java.lang.String... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacJarLauncher

public MacJarLauncher()
Method Detail

main

public static void main(java.lang.String... args)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Parameters:
args - argument is jar name to load
Throws:
java.io.FileNotFoundException
java.io.IOException