Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalAccessError: class com.jidesoft.plaf.LookAndFeelFactory on Java 9 #26

Open
rakeshsrinivasa opened this issue Nov 30, 2017 · 2 comments

Comments

@rakeshsrinivasa
Copy link

Hi ,

I have upgraded jide-oss-3.7.1.jar and trying to run my java application (webstart and applet) in client system with Java 9. But i am getting below error

Exception in thread "AWT-EventQueue-2" java.lang.IllegalAccessError: class com.jidesoft.plaf.LookAndFeelFactory (in unnamed module @0x2218f972) cannot access class com.sun.java.swing.plaf.windows.WindowsLookAndFeel (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.windows to unnamed module @0x2218f972
at com.jidesoft.plaf.LookAndFeelFactory.installJideExtension(Unknown Source)
at com.jidesoft.plaf.LookAndFeelFactory.installJideExtension(Unknown Source)
....

Can some one help me ,how to fix this

@hiro0107
Copy link

hiro0107 commented Feb 8, 2018

Once I upgraded JDK to 9, I met the same issue.
My OS is Windows7.

@ctkemper
Copy link

ctkemper commented Mar 31, 2022

Very late to the party, but here are two solutions:

  1. Set this system property:
    -Djide.defaultStyle=1
  2. Call this before creating any jide components:
    LookAndFeelFactory.installJideExtension(LookAndFeelFactory.EXTENSION_STYLE_VSNET);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants