Home >Java >javaTutorial >Introduction to errors that occur when upgrading IntelliJ Idea on Mac

Introduction to errors that occur when upgrading IntelliJ Idea on Mac

零下一度
零下一度Original
2017-07-24 09:21:223731browse

Upgraded IntelliJ Idea on Mac today

After upgrading to 2017.01, when running the program, the following red warning appears:

objc[20556]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin/java (0x108ada4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x108bb64e0). One of the two will be used. Which one is undefined.
stackoverflow said this is a java on Mac bug, but this does not affect normal programming work.

Solution:

In idea, go to Help > Edit Custom Properties...
Modify idea.properties and add the following content:
# custom IntelliJ IDEA properties
idea_rt
idea.no.launcher=true
Restart idea

Introduction to errors that occur when upgrading IntelliJ Idea on Mac

The above is the detailed content of Introduction to errors that occur when upgrading IntelliJ Idea on Mac. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn