Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to use com.apple.eawt package

Randall WoodJun 8 2016 — edited Jun 17 2016

On OS X 10.11.5 with JDK 9-ea+121, I am getting the following error:

java.lang.IllegalAccessError: class jmri.plaf.macosx.Application (in unnamed module @0x9660f4e) cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @0x9660f4e

My application runs without issue on JDK 1.8.

This post has been answered by Dalibor.Topic-Oracle on Jun 17 2016
Jump to Answer

Comments

Post Details

Added on Jun 8 2016
1 comment
3,310 views