Tor Houghton
03/30/2022, 7:54 AMKathy Satterlee
03/30/2022, 8:10 PMselect path
from (
select directory as path FROM file
Where directory = "/Library/Java/JavaVirtualMachines"
AND CAST(SUBSTR(filename, INSTR(filename, '-') +1, (INSTR(filename, '.') - 1) - INSTR(filename, '-')) as INT) >= 9
union all
select path from homebrew_packages
where name LIKE "%jdk%"
AND CAST(version as INT) >= 9
);
Which checks for both manual download/install and homebrew installations. Working on getting access to Win/Linux machines with JDK installed so that I can test those as well.Matthew Warren
05/18/2023, 3:09 AM