TAPAAL on Mac with Java 8 does not work

Bug #1756865 reported by Jiri Srba on 2018-03-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAPAAL
Critical
Kenneth Yrke Jørgensen
3.4
Critical
Kenneth Yrke Jørgensen

Bug Description

It only fires the Java and dies after a few seconds. Seems to work fine with Java 8 on linux and windows.

Related branches

Jiri Srba (srba) wrote :

Here is what comes on the command line output:

Thors-MacBook-Pro:tapaal thor$ ./run-tapaal-j7.sh
Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/eawt/AboutHandler
 at java.base/java.lang.ClassLoader.defineClass1(Native Method)
 at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1007)
 at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
 at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
 at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
 at pipe.gui.GuiFrame.<init>(GuiFrame.java:219)
 at pipe.gui.CreateGui.init(CreateGui.java:122)
 at net.tapaal.TAPAAL.main(TAPAAL.java:53)
Caused by: java.lang.ClassNotFoundException: com.apple.eawt.AboutHandler
 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
 ... 12 more

Kenneth Yrke Jørgensen (yrke) wrote :

Can someone please confirm this issue is present on Java 8, according to documentation the API should only be removed in Java 9. (run java -version to see java version)

Changed in tapaal:
assignee: nobody → Kenneth Yrke Jørgensen (yrke)
status: New → Incomplete
description: updated
Changed in tapaal:
milestone: none → 3.4.1
Changed in tapaal:
milestone: 3.4.1 → none
Jiri Srba (srba) wrote :

I think this was my mistake, I think the student was having Java 9. I am now on Java 9 as well so I can test it if this works. I don't have Java 8 to test it though, but I guess that there is no problem then if it is still in API.

Jiri Srba (srba) on 2018-04-16
Changed in tapaal:
status: Incomplete → Fix Committed
Changed in tapaal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers