问题
I installed Aptana Studio 3 on my MAC which I updated to the Newest OS Catilina. That is what outdated all my adobe applications and Dreamweaver was a favourite program. Installing Aptana Studio 3 I can't open it because it says I need to instal Legacy Java SE Runtile 6. But I can't install that because Catalina has a higher version of Java that is already installed. So I can't open Aptana Studio 3.
Any suggestions?
回答1:
Steps to install Java 6 on Catalina
From https://www.harrisgeospatial.com/Support/Self-Help-Tools/Help-Articles/Help-Articles-Detail/ArtMID/10220/ArticleID/23780/Mac-OS-Catalina-1015-ENVIIDL-and-Legacy-Java-6-Dependencies)
- Open Finder
- Navigate to Applications > Utilities > Script Editor
- Select "New Document" button
Copy the following text to the Script Editor Document:
set theDMG to choose file with prompt "Please select javaforosx.dmg:" of type {"dmg"} do shell script "hdiutil mount " & quoted form of POSIX path of theDMG do shell script "pkgutil --expand /Volumes/Java\\ for\\ macOS\\ 2017-001/JavaForOSX.pkg ~/tmp" do shell script "hdiutil unmount /Volumes/Java\\ for\\ macOS\\ 2017-001/" do shell script "sed -i '' 's/return false/return true/g' ~/tmp/Distribution" do shell script "pkgutil --flatten ~/tmp ~/Desktop/ModifiedJava6Install.pkg" do shell script "rm -rf ~/tmp" display dialog "Modified ModifiedJava6Install.pkg saved on desktop" buttons {"Ok"}
Select Script > Compile from the menu, or select the "Hammer" button to ensure the above copy and pasted code compiles.
- Select Script > Run from the menu, or select the "Arrow" run button.
- Running the script will create a ModifiedJava6Install.pkg on your desktop. Run this ModifiedJava6Install.pkg to install Java 6.
This should work to enable adding legacy Java onto the Catalina Mac OS device
来源:https://stackoverflow.com/questions/59023621/legacy-java-runtime-6-catilina-mac