Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 454
M.Mario Avatar asked Dec 24 '22 01:12

M.Mario


2 Answers

I solved my issues by downloading a pre-release of Java. I was having trouble with Attachmate's Reflection for the web. The Java bugs seem to be corrected in Version 8 Update 122. Earlier, I had tried Version 9, but it seemed a little buggy.

like image 127
DaveB Avatar answered Jan 02 '23 13:01

DaveB


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

like image 21
Oyohanna Avatar answered Jan 02 '23 15:01

Oyohanna