SapMachine icon indicating copy to clipboard operation
SapMachine copied to clipboard

KSE with SAPMachine OpenJDK

Open blueicehaller opened this issue 4 years ago • 3 comments

Hi,

can you please implement that the SapMachine installer sets the following registry values?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft]

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment]
"CurrentVersion"="11.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment\11.0]
"JavaHome"="C:\\Program Files\\SapMachine\\JDK\\11"
"MicroVersion"="0"

Further Information: https://github.com/kaikramer/keystore-explorer/issues/292

Thank you in advance.

blueicehaller avatar Aug 20 '21 10:08 blueicehaller

Hey there,

thanks for reaching out! I will check your request and get back soon with further information!

nice2mitja avatar Aug 26 '21 08:08 nice2mitja

Hi, are you aware of the registry entries we already have? https://github.com/SAP/SapMachine-infrastructure/blob/master/wix-templates/SapMachine.jdk.wxs.template#L51 Reusing the proposed JavaSoft entries is a bit controversial because we might clash with other peoples software, this is not really what we would like to see.

MBaesken avatar Sep 22 '22 11:09 MBaesken

Hi @MBaesken , I assume that either Oracle Java or SAPMachine is installed. Oracle Java is meanwhile not free for Corporate usage.

Before setting the registry entries I proposed the SAPMachine installer need to check if the value is not set or ask what to do.

blueicehaller avatar Sep 22 '22 18:09 blueicehaller