AstroImageJ
Login
Register
Reinstalling Java for OS X 2017-001 on MacOS Catalina
Posted by
Willie
on
Nov 03, 2019; 9:31pm
URL:
http://astroimagej.170.s1.nabble.com/Reinstalling-Java-for-OS-X-2017-001-on-MacOS-Catalina-tp1241.html
I had a problem reinstalling Java for OS X 2017-001 from JavaForOSX.dmg downloaded today from
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
I found a solution here that solved the problem.
https://forums.macrumors.com/threads/java-6-runtime-legacy-version-for-macos-catalina.2195954/post-27865244
I am repeating the info because the macrumors post had multiple questions and suggestions.
1. Download the JavaForOSX.dmg from
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
2. Mount the dmg by double-clicking JavaForOSX.dmg
3. Open the Terminal ( /Applications/Utilities/Terminal ) and enter the following commands in sequence
pkgutil --expand /Volumes/Java\ for\ macOS\ 2017-001/JavaForOSX.pkg ~/tmp
sed -i '' 's/return false/return true/g' ~/tmp/Distribution
pkgutil --flatten ~/tmp ~/Desktop/Java.pkg
open ~/Desktop/Java.pkg
(and proceed with installation)
4. Use AstroImageJ
Willie Strickland
Meyer Observatory
Free forum by Nabble
Edit this page