Page 1 of 1

Detection of local JVM only finds the Oracle Java

Posted: 17 Jun 2020, 14:51
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

Re: Detection of local JVM only finds the Oracle Java

Posted: 17 Jun 2020, 15:06
by Janak Mulani
Hi,

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

Re: Detection of local JVM only finds the Oracle Java

Posted: 17 Jun 2020, 15:26
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

Re: Detection of local JVM only finds the Oracle Java

Posted: 17 Jun 2020, 15:52
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.

Re: Detection of local JVM only finds the Oracle Java

Posted: 17 Jun 2020, 20:01
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.

Re: Detection of local JVM only finds the Oracle Java

Posted: 19 Jun 2020, 14:15
by Paul Gellissen
Thanks for your help. Can you tell when the update will be released?

Re: Detection of local JVM only finds the Oracle Java

Posted: 19 Jun 2020, 14:27
by Stephan Classen
We plan on releasing the next version end of July beginning of August.

Re: Detection of local JVM only finds the Oracle Java

Posted: 27 Jul 2020, 14:05
by vijayasri.t
Hello,

Hope this is an appropriate thread to report this topic. I have AdoptOpenJDK 8 runtime and OpenWebStart installed on both Windows 10 and macOS Catalina at their default install locations. Locally installed JVMs do not get detected by OpenWebStart automatically; Why so? I need to explicitly click Find Local to do get them configured. Why isn’t this a default behaviour without user requiring to do an additional step to detect JVMs?

Thanks,
Vijayasri

Re: Detection of local JVM only finds the Oracle Java

Posted: 27 Jul 2020, 16:44
by Stephan Classen
Hi Vijayasri
We explicitly designed it this way because many of our customers provide a JVM download server which offers specific Java versions for their applications.
If OWS would automatically detect and use any locally installed JVM then such a JVM may take precedence over the one from the download server.

Re: Detection of local JVM only finds the Oracle Java

Posted: 27 Jul 2020, 17:01
by vijayasri.t
Thanks! This info helps.