#1019 SQuirrel claims jdk8 is too old and wont start

Snapshot
closed
Core (462)
5
2015-01-08
2012-01-18
Mikko
No

When jdk8 smapshot release from http://jdk8.java.net/download.html squirrel refuses to start with the following error message:

"Your Java Virtual Machine must be at least 1.6 to run SQuirreL 3.x and above
JVM Vesion used: 1.8.0-ea"

Discussion

  • Stefan Willinger

    Currently, we have not tested SQuirreL with the Developer Preview Release of JDK8. At the moment, SQuirreL runs with Java 1.6 und 1.7.

    You can add Java 1.8 to the version checker by yourself. Depending on your Operating System, you have to edit squirrel-sql.bat or squirrel-sql.sh

    In squirrel-sql.sh search for the following line
    $JAVACMD -cp "$UNIX_STYLE_HOME/lib/versioncheck.jar" JavaVersionChecker 1.6 1.7
    change it to
    $JAVACMD -cp "$UNIX_STYLE_HOME/lib/versioncheck.jar" JavaVersionChecker 1.6 1.7 1.8

    In squirrel-sql.bat search for
    "%LOCAL_JAVA%" -cp "%SQUIRREL_SQL_HOME%\lib\versioncheck.jar" JavaVersionChecker 1.6 1.7
    and change it to
    "%LOCAL_JAVA%" -cp "%SQUIRREL_SQL_HOME%\lib\versioncheck.jar" JavaVersionChecker 1.6 1.7 1.8

    Please note, that we haven't tested this until yet.

    Maybe, you will provide us with feedback, how SQuirrel works on Java 8 :-)

     
  • Mikko

    Mikko - 2012-01-19

    Thanks, so far squirrel works nicely with java8 preview.

     
  • Johnathan James

    Johnathan James - 2013-01-07

    Should this issue be closed?

     
  • Gerd Wagner

    Gerd Wagner - 2013-01-08
    • status: open --> closed
     
  • Gerd Wagner

    Gerd Wagner - 2013-01-08

    Closed according to Johnathan's review.

     

Log in to post a comment.