Detection of local JVM only finds the Oracle Java
-
- Posts: 15
- Joined: 17 Jun 2020, 14:42
Detection of local JVM only finds the Oracle Java
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
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
-
- Posts: 774
- Joined: 24 Mar 2020, 13:37
Re: Detection of local JVM only finds the Oracle Java
Hi,
On which Operating System are you running the OWS Settings tool to look for local JVMs?
On which Operating System are you running the OWS Settings tool to look for local JVMs?
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Detection of local JVM only finds the Oracle Java
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
-
- Posts: 15
- Joined: 17 Jun 2020, 14:42
Re: Detection of local JVM only finds the Oracle Java
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.
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.
-
- Posts: 774
- Joined: 24 Mar 2020, 13:37
Re: Detection of local JVM only finds the Oracle Java
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.
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.
-
- Posts: 15
- Joined: 17 Jun 2020, 14:42
Re: Detection of local JVM only finds the Oracle Java
Thanks for your help. Can you tell when the update will be released?
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Detection of local JVM only finds the Oracle Java
We plan on releasing the next version end of July beginning of August.
-
- Posts: 13
- Joined: 27 Jul 2020, 12:48
Re: Detection of local JVM only finds the Oracle Java
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
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
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Detection of local JVM only finds the Oracle Java
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.
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.
-
- Posts: 13
- Joined: 27 Jul 2020, 12:48
Re: Detection of local JVM only finds the Oracle Java
Thanks! This info helps.