Command Line Installation of Legacy Java on Mac

There are a few apps which still require the legacy Java to work. If you need to install the legacy Java using command line. Follow these steps.

If you’re thinking about purchasing a new GPU, we’d greatly appreciate it if you used our Amazon Associate links. The price you pay will be exactly the same, but Amazon provides us with a small commission for each purchase. It’s a simple way to support our site and helps us keep creating useful content for you. Recommended GPUs: RTX 5090, RTX 5080, and RTX 5070. #ad

curl  -Lo javaforosx.dmg  "http://support.apple.com/downloads/DL1572/en_US/javaforosx.dmg" 
hdiutil attach javaforosx.dmg 
sudo installer -pkg /Volumes/Java\ for\ OS\ X\ 2015-001/JavaForOSX.pkg -target /
hdiutil detach /Volumes/Java\ for\ OS\ X\ 2015-001/ 

Be the first to comment

Leave a Reply