Detection of local JVM only finds the Oracle Java

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Paul Gellissen
Posts: 3
Joined: 17 Jun 2020, 14:42

Detection of local JVM only finds the Oracle Java

Post by Paul Gellissen »

Hi,

I would like to know how OWS searches and detects the locally installed JVM.
This is due to the problem that an installation of jre-8.0.242.08-hotspot from AdoptOpenJDK never gets found.
But when I define the installation path manually the installation gets found.

Paul

Janak Mulani
Posts: 40
Joined: 24 Mar 2020, 13:37

Re: Detection of local JVM only finds the Oracle Java

Post by Janak Mulani »

Hi,

On which Operating System are you running the OWS Settings tool to look for local JVMs?

Stephan Classen
Posts: 40
Joined: 27 Mar 2020, 09:55

Re: Detection of local JVM only finds the Oracle Java

Post by Stephan Classen »

we basically search the most common path. If you tell us where adopt is installed we can take this path into the list for the next release

Paul Gellissen
Posts: 3
Joined: 17 Jun 2020, 14:42

Re: Detection of local JVM only finds the Oracle Java

Post by Paul Gellissen »

Hi,

with the settings left on standard it gets installed to C:\Program Files\AdoptOpenJDK
At least when I scan with this folder the JVM gets found.
It was tested on Win10 1909x64.

Janak Mulani
Posts: 40
Joined: 24 Mar 2020, 13:37

Re: Detection of local JVM only finds the Oracle Java

Post by Janak Mulani »

On Windows OWS searches in :
1. "Program Files (X86)\java" and "Program Files\java\"
2. <Cygwin/Home>/.sdkman
3. "Program Files (X86)\Amazon Corretto" and "Program Files\Amazon Corretto\"

In a future release we can add to the search path Program Files\AdoptOpenJDK and Program Files (x86)\AdoptOpenJDK if as you say it is the default.

Paul Gellissen
Posts: 3
Joined: 17 Jun 2020, 14:42

Re: Detection of local JVM only finds the Oracle Java

Post by Paul Gellissen »

Thanks for your help. Can you tell when the update will be released?

Stephan Classen
Posts: 40
Joined: 27 Mar 2020, 09:55

Re: Detection of local JVM only finds the Oracle Java

Post by Stephan Classen »

We plan on releasing the next version end of July beginning of August.

Post Reply