M.Mario M.Mario - 26 days ago 17
Java Question

Java applets in macOs Sierra crashes

After I update my mac to macOs Sierra, i have problems with java applets in Safari. They didn't start, or start and crash.

Process: java [2271]
Path: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: plugin-container [2270]
Responsible: java [2271]
User ID: 501

Date/Time: 2016-10-03 14:10:04.915 +0300
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: 624C8F20-CA48-4915-59CD-DE6757A27CC3


Time Awake Since Boot: 4300 seconds

System Integrity Protection: enabled

Crashed Thread: 0 AppKit Thread Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGABRT)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Crashing on exception: java.lang.NullPointerException
at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1090)
at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1085)
at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1080)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1734)
at java.awt.EventQueue.invokeLater(EventQueue.java:1266)
at sun.plugin2.main.client.MacOSXKeyHandler.notifyFlagsChangedFromNative(Unknown Source)

abort() called


and etc...
I disable "safe mode" in preferances, but this won't help.
Anyone has solution for this?
Java 8 udate 101.
tnx

Answer

I had the same issue with the latest sierra update - try downloading JDK 9 (download here)