Java installation error

Solved!
JoshuaGohlke
Level 2
Java installation error

Hi all. 

I previously had DI installed, but the last upgrade presented me with a java installation error. I eventually deleted the app and tried to install from scratch, but I get the same error. Unfortunately the log does not tell me much. 

...

[2022-01-11 16:19:11.962 -0500] INFO: downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_m...
[2022-01-11 16:19:12.076 -0500] ERROR: java install failed
[2022-01-11 16:19:12.077 -0500] ERROR: Failed to install java

0 Kudos
1 Solution
JoshuaGohlke
Level 2
Author

I discovered a work-around to the issue. In the log, I could see that DSS installer was looking for jdk8u322-b06 even though it later tried installing a different version. When trying to download and install java, it failed with no useful error message. I could, however, download the original java package manually and place it where the installer first looked. This worked.

View solution in original post

0 Kudos
4 Replies
sergeyd
Dataiker

Hi @JoshuaGohlke 

Can you please provide more context? What OS version are you running? Where do you see this error? Will you be able to provide <DATA_DIR>/run/install.log? 

0 Kudos
milhammaksum
Level 1
Hi Sergeyd, I had the same problem, stuck on installing Java, when install free edition for windows 10. And I see the same log at java log installation. Thanks in advance.
0 Kudos
JoshuaGohlke
Level 2
Author

Hey, thanks for replying. I didn't see this until just now. 

 

My OS is MacOS Monterey 12.4 and I see the error on install. Specifically, the first time I use DSS it prompts me to install and then installs python and then java. That's where it fails. The install log file has the failure captured, but doesn't describe the cause. I can't find a way to run verbosely. I'm able to find the downloaded java distro and unzip it. 

0 Kudos
JoshuaGohlke
Level 2
Author

I discovered a work-around to the issue. In the log, I could see that DSS installer was looking for jdk8u322-b06 even though it later tried installing a different version. When trying to download and install java, it failed with no useful error message. I could, however, download the original java package manually and place it where the installer first looked. This worked.

0 Kudos