v5tech/notes

解决Intellij idea Java JDK多重选择提示问题

v5tech opened this issue · 3 comments

问题描述

objc[52336]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java (0x10942a4c0) and /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1095a54e0). One of the two will be used. Which one is undefined.

配置Intellij Idea

1、打开idea.properties文件
help->edit custom properties

idea.no.launcher=true

2、在文件中添加一行

3、重启 idea 问题解决

我的idea还是有这个问题,jdk1.8.0112,idea2018

idea.properties 文件在哪……

help->edit custom properties 没有认真看噢 @FrankFang