Class JavaLaunchHelper is implemented in both

I was getting the below error which compiling my code.

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


Upgrade JDK to the latest version from

Details related are also discussed at

How to fix when Nexus 5 cannot detect Wifi SSID

Suddenly my phone today could not detect the WiFi SSID for my home router. Strangely all other devices at my home are able to connect.

I was not able to figure out why it is the case and I restarted my Router and Phone. But, it did not help.

I logged into router and checked what is the channel of current wifi connection. It was set to automatic and its value was 12.

I found the issue with my phone plus higher channels.

I manually set the channel to a lower number (2) and then my phone was able to detect and connect to the Wifi