Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 24th October 2020, 16:33   #21  |  Link
kevbo
Registered User
 
Join Date: Feb 2005
Posts: 26
Won't detect Java

I have version 1.19. Upon startup, it can't detect Java and throws a warning/error message.

I have Java 1.8 and 11 installed. However, I don't use the Oracle JDK, I use AdoptOpenJDK, due to Oracle's new licensing restrictions.

If I bring up a command prompt and type "java", I get Java (so java.exe is in the path). I also have a JAVA_HOME environment variable set.

I'm wondering how the program actually tries to find Java. I can think of two things that have gone wrong. One, the java that comes up is Java 11. Maybe you only want 8? Or two, you're looking for something specifically Oracle that I don't have, because I have a different Java package.

Adding: AdoptOpenJDK can do 4 things when installing. It can add Java to the system PATH, it can associate itself with .jar files, it can set JAVA_HOME, and it can set values in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft

Each of these 4 things is optional in the installer, but I have all 4 things enabled here. AdoptOpenJDK doesn't install in the Oracle location in Program Files: if you are specifically looking for Java there, it isn't there. But there are 4 other things that can looked for to try to find Java (well, at least 3, not sure the .jar association is all that helpful). At the very least, I'd think that looking for java.exe in the path and/or looking for JAVA_HOME should work. Or maybe allow the location of the JRE to be a configured option?

There are quite a few packagings of Java these days, and the new Oracle licensing makes that particular one quite sub-optimal. (I say knowing full well that Java's usage on the desktop is really minimal these days anyways.)

I'd like to help figure this out: I develop with Java so I'm familiar with how it installs/integrates.

Thanks,

Kevin

Last edited by kevbo; 25th October 2020 at 01:48. Reason: Additional info
kevbo is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.