Java goes AppStore?

Marco Dinacci marco.dinacci at gmail.com
Wed Sep 19 09:58:05 PDT 2012


Paul,

> Library/Containers/Myapp ?

I've made a change to the JavaAppLauncher in my appbundler fork (*)
that passes 5 environment variables to the Java app that it launches:

LibraryDirectory
DocumentsDirectory
CachesDirectory
ApplicationSupportDirectory
SandboxEnabled

this way you can use System.getProperty(one_of_the_variables_above) to
get the directory you need, removing the need for a native library.

Best,
Marco


(*) https://bitbucket.org/infinitekind/appbundler


More information about the macosx-port-dev mailing list