legacy Java Runtime 6 Catilina Mac

試著忘記壹切 提交于 2020-01-15 09:32:10

问题


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)

  1. Open Finder
  2. Navigate to Applications > Utilities > Script Editor
  3. Select "New Document" button
  4. 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"}
    
  5. Select Script > Compile from the menu, or select the "Hammer" button to ensure the above copy and pasted code compiles.

  6. Select Script > Run from the menu, or select the "Arrow" run button.
  7. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!