Menu

#1319 Squirrelsql seems unable to run under java 9, at least on MacOS

SQuirreL
open
nobody
None
5
2017-11-04
2017-10-22
Heklaz
No

Squirrelsql seems unable to run under java 9, at least on MacOS, screenshot attached.

Running the standard install from the commandline gives:
./squirrel-sql-3.8.0/squirrel-sql.sh: line 26: Plug-Ins/JavaAppletPlugin.plugin/Contents/Home: No such file or directory
Error: Could not find or load main class JavaVersionChecker
Caused by: java.lang.ClassNotFoundException: JavaVersionChecker

MacOS X 10.11.6

1 Attachments

Discussion

  • Heklaz

    Heklaz - 2017-10-22

    Just saw another bug related to this. Should wait for new version.

     
  • Gerd Wagner

    Gerd Wagner - 2017-10-22

    Please try out the latest snapshot.
    SQuirreL 3.8.0 is not Java 9 compatible. Only recent snapshots are and the next version will be.

     
  • Josh Graham

    Josh Graham - 2017-10-26

    I have had it running fine on Java 9. Your problem is a bug in the squirrel-sql.sh which is fixed in the latest snapshot.

     
  • Heklaz

    Heklaz - 2017-10-26

    I've just installed from squirrel-sql-snapshot-20171018_2131-MACOSX-install.jar.

    I got the attached while starting, but SQuirrelSQL did start.

     
  • Gerd Wagner

    Gerd Wagner - 2017-11-04

    Concerning the former entry please see
    https://bugs.openjdk.java.net/browse/JDK-8160437

    Perhaps someone who has access to a Mac could try out the suggested parameter
    -XaddExports:java.desktop/com.apple.eawt=ALL-UNNAMED
    and let me know how to integrate it in the launch script squirrel-sql.sh (without breaking the compatibility with other Java versions.)

    Thanks in advance
    Gerd

     

Log in to post a comment.

MongoDB Logo MongoDB