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.

Solution.

Upgrade JDK to the latest version from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Details related are also discussed at https://stackoverflow.com/questions/18794573/class-javalaunchhelper-is-implemented-in-both-libinstrument-dylib-one-of-th

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.
https://www.reddit.com/r/Nexus5/comments/31ljh5/connect_to_wifi_channel_12_or_13/

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