Java 8 Update 71 正在尝试安装新的辅助工具。(在 Mac 上)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35003620/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 23:38:03  来源:igfitidea点击:

Java 8 Update 71 is trying to install a new helper tool. (On Mac)

javajava-8installauto-update

提问by Florian F

I just was prompted to update Java. It tells me:

我只是被提示更新 Java。它告诉我:

enter image description here

在此处输入图片说明

Does anybody know what that "helper" tool does? If it is new I probably don't need it. Is there a way to opt out? Or at least know what it is before installing it?

有人知道那个“帮手”工具是做什么的吗?如果它是新的,我可能不需要它。有没有办法选择退出?或者至少在安装之前知道它是什么?

Note that I already checked the option to suppress sponsor offers in the Java Control Panel under System Preferences.

请注意,我已经在“系统偏好设置”下的“Java 控制面板”中选中了取消赞助商优惠的选项。

enter image description here

在此处输入图片说明

Note also that if I don't enter the admin password, the update doesn't get installed. It is not an offer that is presented besides the update and that I can accept or reject.

另请注意,如果我不输入管理员密码,则不会安装更新。除了更新之外,这不是一个我可以接受或拒绝的要约。

If this is a bad question or the wrong place, please comment.

如果这是一个不好的问题或错误的地方,请发表评论。



Here is a followup.

这是一个后续行动。

I got the message again and I searched for more information about it. I learned that the update process has been wrapped into an application. The applications wraps the actual package and proposes additional software. If you opt out I guess it just installs the java update.

我再次收到该消息,并搜索了有关它的更多信息。我了解到更新过程已被包装到一个应用程序中。应用程序包装实际包并建议附加软件。如果您选择退出,我想它只会安装 Java 更新。

The "new helper tool" is probably this installation wrapper, or possibly the additional software that is proposed if you don't opt out.

“新的帮助工具”可能是这个安装包装器,或者可能是您不选择退出时建议的附加软件。

If you prefer to install a clean package, you can extract it form the installer. After the update downloaded, click cancel. Then go to ~/Library/Application Support/Java(~/Libraryis hidden, so use Go > Go to folder...). You can see there all the past java update downloads. Choose the latest version. Inside the folder you see an app and a dmg. Right-click on the app and select Show Package Contents. Inside the app go to Contents/Resources. There you find a package JavaAppletPlugin.pkg. That is the actual package. Double-click it to install. It will still ask for your name and password, but this time it is asked by OSX/macOS and used for installing that package and nothing else.

如果你更喜欢安装一个干净的包,你可以从安装程序中提取它。下载更新后,单击取消。然后转到~/Library/Application Support/Java~/Library隐藏,所以使用转到>转到文件夹...)。您可以在那里看到所有过去的 Java 更新下载。选择最新版本。在文件夹内,您会看到一个应用程序和一个 dmg。右键单击应用程序并选择Show Package Contents。在应用程序内转到Contents/Resources. 在那里你会找到一个包裹JavaAppletPlugin.pkg。那是实际的包。双击它进行安装。它仍然会询问您的姓名和密码,但这次是由 OSX/macOS 询问并用于安装该软件包,仅此而已。



Latest update: Today the update fails. When that happens, the download is immediately removed. In that case the method above doesn't work.

最新更新:今天更新失败。发生这种情况时,下载会立即被删除。在这种情况下,上述方法不起作用。



This starts to look like a blog. The failing download was due to my antivirus. When I disable it it works again. Anyway I now trust the message to be harmless. It is OS X asking if I agree to run the Java installation program. It doesn't try to install anything else. I just run it.

这开始看起来像一个博客。下载失败是由于我的防病毒软件。当我禁用它时,它会再次工作。无论如何,我现在相信该消息是无害的。OS X 询问我是否同意运行 Java 安装程序。它不会尝试安装其他任何东西。我只是运行它。

采纳答案by user2821023

From: https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jre.html

来自:https: //docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jre.html

Oracle has partnered with companies that offer various products. The installer may present you with the option to install these programs when you install Java.

Oracle 已与提供各种产品的公司合作。在您安装 Java 时,安装程​​序可能会为您提供安装这些程序的选项。

You can disable the presentation of offers during installation by specifying the --args SPONSORS=0 option in the terminal command line. For example:

通过在终端命令行中指定 --args SPONSORS=0 选项,您可以在安装期间禁用报价的显示。例如:

open /Volumes/Java\ 8\ Update\ 40/Java\ 8\ Update\ 40.app --args SPONSORS=0