Re: JavaAppLauncher and working directory

2014-04-10 Thread Abu Abdullah
> > > I believe the way this works is that any jars in the Java directory are > added to classpath _but_ the Java directory itself is not classpath. The > Classes directory it contains is in classpath. > > For example: > > set java.class.path > java.class.path=/Users/mjh/HalfPipe/HalfPipe7.app/Cont

Re: JavaAppLauncher and working directory

2014-04-07 Thread Michael Hall
On Apr 6, 2014, at 11:02 PM, Abu Abdullah wrote: > > Launcher.jar is just a wrapper instead of executing through the command line. > it has only manifest.mf file with Main-Class: classes.myapp and other > options. the classes are in a folder in the same directory. > > user.dir for app bundle

Re: JavaAppLauncher and working directory

2014-04-07 Thread Abu Abdullah
On Sun, Apr 6, 2014 at 6:45 PM, Joe McGlynn wrote: > I don't believe the "app bundler" project is maintained any longer. That > code was subsumed into the "FX Packager" (which works for non-FX apps) > about a year ago. FWIW, I suspect that you need to put your application > classes into a JAR f

Re: JavaAppLauncher and working directory

2014-04-06 Thread Abu Abdullah
On Sun, Apr 6, 2014 at 9:02 PM, Michael Hall wrote: > On Apr 6, 2014, at 2:10 AM, Abu Abdullah wrote: > > > > > > > I'm using scripting to do this and not by AppBundler. > > Once i launch the application, it didn't recognize its location and hence > > other folders are not seen. NullPointerExcep

Re: JavaAppLauncher and working directory

2014-04-06 Thread Michael Hall
On Apr 6, 2014, at 9:45 AM, Joe McGlynn wrote: > don’t believe the “app bundler” project is maintained any longer. That code > was subsumed into the “FX Packager” (which works for non-FX apps) about a > year ago. FWIW, I suspect that you need to put your application classes into > a JAR fil

Re: JavaAppLauncher and working directory

2014-04-06 Thread Michael Hall
On Apr 6, 2014, at 2:10 AM, Abu Abdullah wrote: > > > I'm using scripting to do this and not by AppBundler. > Once i launch the application, it didn't recognize its location and hence > other folders are not seen. NullPointerException are thrown because of this. > > I tried many things without

Re: JavaAppLauncher and working directory

2014-04-06 Thread Joe McGlynn
I don’t believe the “app bundler” project is maintained any longer. That code was subsumed into the “FX Packager” (which works for non-FX apps) about a year ago. FWIW, I suspect that you need to put your application classes into a JAR file for it to work properly, but that is just a guess. I’

JavaAppLauncher and working directory

2014-04-06 Thread Abu Abdullah
Hi, I'm trying to bundle my application using Oracle JavaAppLauncher (from the AppBundler project files). all app classes are not in Jar but in a simple directory structure as follow: my.app/Contents/Java/ my.app/Contents/Java/classes my.app/Contents/Java/setting my.app/Contents/Java/lib my.app/C