Bundled .app Splash Splash Screen invocation?

niagarasoft20-macosxportdev at yahoo.com niagarasoft20-macosxportdev at yahoo.com
Sat Nov 24 12:44:58 PST 2012


Ok, after some trial and error testing I found that if I included the ...

<key>JVMOptions</key>
<array>
<string>-splash:splash.gif</string>
</array>

... option and added the splash.gif file to my 'user.home' directory, then the splash.gif would present itself at program launch. This seems strangely arbitrary (bug?).

Is there any way to specify the path of the image to be located in relation to the .app bundle root instead?

Mike




----- Original Message -----
> From: "niagarasoft20-macosxportdev at yahoo.com" <niagarasoft20-macosxportdev at yahoo.com>
> To: "macosx-port-dev at openjdk.java.net X" <macosx-port-dev at openjdk.java.net>
> Cc: 
> Sent: Saturday, November 24, 2012 12:35 PM
> Subject: Bundled .app Splash Splash Screen invocation?
> 
> Previously Java Mac developers were able to launch a Java 1.6 splash screen from 
> within the app bundle using the info.plist key:
> 
> <key>SplashFile</key>
> <string>$JAVAROOT/splash.gif</string>
> 
> ... storing the splash.gif in the /XXX.app/Contents/Resources/Java/ directory.
> 
> How is this now being handled with the latest Java 1.7 OpenJDK mac-port 
> implementation? 
> 
> What am I missing?
> 
> Mike
> 


More information about the macosx-port-dev mailing list