1. 程式人生 > >idea 啟動Class JavaLaunchHelper is implemented in both 。。。

idea 啟動Class JavaLaunchHelper is implemented in both 。。。

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

解決辦法:

點選IntelliJ IDEA最上面選單的”Help”下的“Edit Custom Properties”,沒有這個properties檔案的話,IntelliJ IDEA會提示建立,在檔案中加上
idea.no.launcher=true
重啟IntelliJ IDEA