MacBook Air Compiling Error

Answered

When I compile the code, I get the error

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

It takes about a minute to compile the simplest of code, then after the first compilation, the entire application freezes, and I have to restart my MacBook Air to fix it.

Please help! D:

0
3 comments

It's not an error, just a harmless message that can be ignored, see http://stackoverflow.com/a/43003231/104891 for details.

0
Avatar
Permanently deleted user

Thanks, but do you have any ideas why the app keeps freezing so?

0

Yes, see http://stackoverflow.com/a/39698914/104891.

git clone https://github.com/thoeni/inetTester
java -jar ./bin/inetTester.jar

Find the hostname that's output from the .jar.

sudo nano /etc/hosts

and add these two entries.

127.0.0.1 <output-host-name>.local
::1 <output-host-name>.local
0

Please sign in to leave a comment.