Am 18.03.22 um 17:21 schrieb Ira Fuchs:
> I am new to Squirrel SQL. I downloaded the latest snapshot for the Mac and after starting it, I get the message from the Java Version Checker thatMy JVM must be 11->17 and that I am using 1.8.0_321 (via the Java launcher).
> How do I get this working?
>
On my Mac it worked the following way:
Go to https://adoptium.net/releases.html and download either the
MacOS x64 JDK tar.gz file
or the
macOS aarch64 JDK tar.gz file
depending on your Mac's architecture. As your installed Java version is
1.8 it probably is MacOS x64.
Unpack the JDK tar.gz file in some directory of your choice.
Download your preferred MacOS version of SQuirreL.
Open a command line terminal in the director of your SQuirreL download
and execute:
<yourJDKUnpackDir>/Contents/Home/bin/java -jar
./squirrel-sql-<yourSquirreLVersion>-MACOSX-install.jar
This will start SQuirreL's MacOS-Installer.
After SQuirreL is installed you have to tell it to use your downloaded
Java JDK. To do so edit the file
<yourSquirrelInstallDir>/Contents/MacOS/squirrel-sql.sh
After the comment at the beginning of the file add the line
export JAVA_HOME=<YourJDKUnpackDir>/Contents/Home
Now SQuirreL should start with your downloaded JDK.
|