0 votes
1 view
in Java by (3.4k points)

I upgraded to the latest Java 7u40 on MacOS X and started getting the following message on the console when launching my application using Eclipse. The app works fine but I would like to find out the cause of the problem and hopefully a fix for it.

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

Does anyone know why this message is printed and how to fix it?

1 Answer

0 votes
by (46.1k points)

For JetBrains IntelliJ IDEA: Operate to Help -> Edit Custom Properties... Generate the file if it requires you to build it. To impair the wrong message paste the following to the file you generated:


This will bring an impact on the restart of the IntelliJ.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !