Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1019 SQuirrel claims jdk8 is too old and wont start

snapshot
closed
Colin Bell
Core (461)
5
2013-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

  • 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.

     
  • 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.