The error message you provided suggests that you're encountering an "Unsupported major.minor version" error. This error typically occurs when you're trying to run a Java program with a version of Java that is older than the one used to compile the program.
In your case, it seems that the version of Java you have installed (1.8.0_121) is not compatible with the version of SQuirreL SQL (squirrel-sql-snapshot-20170214_2214) you're trying to run. The "Unsupported major.minor version 52.0" error corresponds to Java 8, which suggests that SQuirreL SQL requires a newer version of Java.
To resolve this issue, you can try the following:
1. Update your Java version: Install a newer version of Java, such as Java 11 or Java 14, which are more recent than Java 8. You can download the latest Java Development Kit (JDK) from the official Oracle website or use a package manager specific to your Linux distribution to install Java.
2. Verify the Java version: After updating Java, verify that you're using the correct version by running the `java -version` command in the terminal. Ensure that the output shows the updated version you installed.
3. Retry running SQuirreL SQL: Once you have the updated Java version, try running SQuirreL SQL again with the newer Java installation. Make sure you're using the appropriate command or script to start SQuirreL SQL and ensure it uses the updated Java version.
By updating your Java version to a compatible one, you should be able to resolve the "Unsupported major.minor version" error and run SQuirreL SQL successfully.