Catalina上的Aptana 3错误-需要旧版Java Runtime 6 [英] Aptana 3 error on Catalina - legacy Java Runtime 6 required

查看:82
本文介绍了Catalina上的Aptana 3错误-需要旧版Java Runtime 6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的MAC上安装了Aptana Studio 3,并将其更新为最新的OS Catalina.那就是我所有的adobe应用程序都已经过时的功能,而Dreamweaver是最受欢迎的程序.安装Aptana Studio 3我无法打开它,因为它说我需要安装Legacy Java SE Runtime6.但是我无法安装它,因为Catalina具有已经安装的更高版本的Java.因此,我无法打开Aptana Studio 3.

I installed Aptana Studio 3 on my MAC which I updated to the Newest OS Catalina. 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 Runtime 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.

有什么建议吗?

推荐答案

在Catalina上安装Java 6的步骤

Steps to install Java 6 on Catalina

来自

  • 打开Finder
  • 导航到应用程序">实用程序">脚本编辑器"
  • 选择新建文档"按钮
  • 将以下文本复制到脚本编辑器文档中:

    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"}
    

  • 从菜单中选择脚本">编译",或选择汉默"按钮以确保上面的复制和粘贴的代码可以编译.

  • Select Script > Compile from the menu, or select the "Hammer" button to ensure the above copy and pasted code compiles.

    这应该可以使将旧版Java添加到Catalina Mac OS设备上

    This should work to enable adding legacy Java onto the Catalina Mac OS device

    这篇关于Catalina上的Aptana 3错误-需要旧版Java Runtime 6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆