ITW windows launcher registry support

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ITW windows launcher registry support

Alex Kashchenko
Hi,

This patch (
http://cr.openjdk.java.net/~akasko/itw/bat_launcher_20170518.patch )
adds registry support for finding out JAVA_HOME to javaws bat launcher.
JAVA_HOME from environment is used as a fallback. I suggest using it in
current form until native launcher is implemented.

Tested with default MSI installations of ojdkbuild and Zulu.

--
-Alex
Reply | Threaded
Open this post in threaded view
|

Re: ITW windows launcher registry support

Jiri Vanek
On 05/18/2017 04:38 PM, Alex Kashchenko wrote:
> Hi,
>
> This patch ( http://cr.openjdk.java.net/~akasko/itw/bat_launcher_20170518.patch ) adds registry
> support for finding out JAVA_HOME to javaws bat launcher. JAVA_HOME from environment is used as a
> fallback. I suggest using it in current form until native launcher is implemented.
>
> Tested with default MSI installations of ojdkbuild and Zulu.
>
Why had you removed set  of INST_JAVA_HOME ?

J.


--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
[hidden email]    M: +420775390109
Reply | Threaded
Open this post in threaded view
|

Re: ITW windows launcher registry support

Alex Kashchenko
Hi,

On 05/18/2017 03:46 PM, Jiri Vanek wrote:

> On 05/18/2017 04:38 PM, Alex Kashchenko wrote:
>> Hi,
>>
>> This patch (
>> http://cr.openjdk.java.net/~akasko/itw/bat_launcher_20170518.patch )
>> adds registry support for finding out JAVA_HOME to javaws bat
>> launcher. JAVA_HOME from environment is used as a fallback. I suggest
>> using it in current form until native launcher is implemented.
>>
>> Tested with default MSI installations of ojdkbuild and Zulu.
>>
> Why had you removed set  of INST_JAVA_HOME ?

That change is a leftover of an original patch, not used for registry
access, can be dropped.


--
-Alex