Javafxpackager and splash screen
Danno Ferrin
danno.ferrin at oracle.com
Mon Apr 14 23:20:17 UTC 2014
Try APPDIR instead of APP_ROOT.
>
>
> Begin forwarded message:
>
>> From: Michael Hall <mik3hall at gmail.com>
>> Subject: Re: Javafxpackager and splash screen
>> Date: April 12, 2014 at 2:52:21 AM PDT
>> To: Abu Abdullah <falcon.sheep at gmail.com>
>> Cc: "macosx-port-dev at openjdk.java.net" <macosx-port-dev at openjdk.java.net>
>>
>> On Apr 11, 2014, at 9:38 PM, Abu Abdullah <falcon.sheep at gmail.com> wrote:
>>
>>> On Sat, Apr 12, 2014 at 6:19 AM, Michael Hall <mik3hall at gmail.com> wrote:
>>>
>>>> i tried even the absolute path in case APP_ROOT is not supported but not
>>>> working.
>>>
>>> I seem to remember support for something like this being added. But am not sure. You could check the source.
>>>
>>>
>>> I tried also with jdk1.8.0 u20 as well but it is the same version javafxpackager 2.2
>>>
>> I looked at the last appbundler source I have downloaded, which may not be current. But saw no support for APP_ROOT in main.m.
>> To be sure you could download the latest and check yourself.
>> From this, APP_ROOT would not work, you might show how you specified fullpath? Path wrong could still be a reason it doesn't work that doesn't mean a bug.
>>
>>>
>>> yes it runs through command line and I'm trying with both 1.8.0 and u20
>>
>>
>> In the most current version of the source that I have, again possibly not the actual latest - then it should work application launched.
>> The source has…
>>
>> // Get the VM options
>> NSArray *options = [infoDictionary objectForKey:@JVM_OPTIONS_KEY];
>> if (options == nil) {
>> options = [NSArray array];
>> }
>>
>> …
>>
>> // Initialize the arguments to JLI_Launch()
>> int argc = 1 + [options count] + 2 + [arguments count] + 1;
>> char *argv[argc];
>>
>> int i = 0;
>> argv[i++] = commandName;
>> argv[i++] = strdup([classPath UTF8String]);
>> argv[i++] = strdup([libraryPath UTF8String]);
>>
>> for (NSString *option in options) {
>> argv[i++] = strdup([option UTF8String]);
>> }
>>
>> So it just copies in the options, no editing, skipping or additions. Should be just like command line.
>>
>> So if path is good, and it doesn't correctly handle the splash option, then something is broken somehow that isn't broken in command line and you probably have a bug report?
>>
>> Michael Hall
>>
>> trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz
>>
>> HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe
>>
>> AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter
>>
>>
>>
>>
>
More information about the macosx-port-dev
mailing list