Hi,
My computer is unable to launch the Dr. Java .jar file. I'm using drjava-beta-20160913-225446, and my operating system is OSX 10.11.16 and my verison of java is :
"10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
From what I can tell, it seems to work with all previous versions of java not this one.
The errors I am encountering are:
Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/eawt/ApplicationListener
at edu.rice.cs.drjava.platform.PlatformFactory.getPlatformSupport(PlatformFactory.java:59)
at edu.rice.cs.drjava.platform.PlatformFactory.<clinit>(PlatformFactory.java:49)
at edu.rice.cs.drjava.config.OptionConstants$DefaultFont.getDefaultMainFont(OptionConstants.java:237)
at edu.rice.cs.drjava.config.OptionConstants.<clinit>(OptionConstants.java:232)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1042)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:179)
at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1105)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1086)
at java.base/java.lang.reflect.Field.get(Field.java:418)
at edu.rice.cs.drjava.config.OptionMapLoader.<clinit>(OptionMapLoader.java:59)
at edu.rice.cs.drjava.config.SavableConfiguration.loadConfiguration(SavableConfiguration.java:58)
at edu.rice.cs.drjava.config.FileConfiguration.loadConfiguration(FileConfiguration.java:65)
at edu.rice.cs.drjava.DrJava._initConfig(DrJava.java:523)
at edu.rice.cs.drjava.DrJava.handleCommandLineArgs(DrJava.java:452)
at edu.rice.cs.drjava.DrJava.main(DrJava.java:242)
Caused by: java.lang.ClassNotFoundException: com.apple.eawt.ApplicationListener
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 17 more</clinit></clinit></clinit>
I attached a screenshot of what I am seeing when I try to open the .jar file.
Thanks!!