本文介绍了类JavaLaunchHelper在两个地方实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我在macOS Sierra上升级了我的Intellij Idea,现在,当我在控制台中运行应用程序时出现此错误:

Today I upgraded my Intellij Idea on macOS Sierra, and now, when I run apps in console I have this error:


推荐答案

您可以在此处找到所有详细信息:

You can find all the details here:


  • objc:类JavaLaunchHelper在两个...中实现运行控制台中的警告

  • IDEA-170117 "objc: Class JavaLaunchHelper is implemented in both ..." warning in Run consoles

这是,触发。此消息是无害的,可以安全地忽略。 Oracle开发人员的评论:

It's the old bug in Java on Mac that got triggered by the Java Agent being used by the IDE when starting the app. This message is harmless and is safe to ignore. Oracle developer's comment:

和。

如果它以任何方式惹恼您或影响您的应用程序(它不应该),IntelliJ IDEA的解决方法是禁用 idea_rt 启动器代理,将 idea.no.launcher = true 添加到 idea.properties 帮助 | 编辑自定义属性... )。解决方法将在下次重新启动IDE时生效。

If it annoys you or affects your apps in any way (it shouldn't), the workaround for IntelliJ IDEA is to disable idea_rt launcher agent by adding idea.no.launcher=true into idea.properties (Help | Edit Custom Properties...). The workaround will take effect on the next restart of the IDE.

我不建议禁用IntelliJ IDEA启动器代理。它用于正常关机(退出按钮),线程转储,解决方法,太长的命令行超出操作系统限制等问题。等等,只是为了隐藏无害的消息而丢失这些功能可能不值得,但它是由你决定。

I don't recommend disabling IntelliJ IDEA launcher agent, though. It's used for such features as graceful shutdown (Exit button), thread dumps, workarounds a problem with too long command line exceeding OS limits, etc. Losing these features just for the sake of hiding the harmless message is probably not worth it, but it's up to you.

这篇关于类JavaLaunchHelper在两个地方实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 07:46
查看更多