Fix "objc[1575]: Class JavaLaunchHelper is implemented in both"

objc[1575]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x1021884c0)
objc[2265]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x10ff764c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x110fe54e0). One of the two will be used. Which one is undefined.

When you've installed Intellij IDEA and make an hello world app and you'll get those message above or something like that ?
Today I've solution to fix this.


Let's get started.

1. You need to download JDK update Early-Access from this link http://jdk.java.net/8/
2. Download JRE +  JDK  and install it.
3. Create your project in intellij IDEA and let say hello world.
4. Click Project Structure on the top left of window.

5. Click '+' button



and you'll get this dialog then press 'Command' + 'Up arrow' until you see the jdk folder



select lastest version from folder list and press ok.


6. Select recently added jdk and press OK to close intellij Project structure dialog
7. Try to run again.




Wish you happy in coding.

ความคิดเห็น

บทความที่ได้รับความนิยม