squirrel-sql-3.7-standard.jar Redhat 7.2 install problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

squirrel-sql-3.7-standard.jar Redhat 7.2 install problem

Joseph Dunleavy

I have Redhat 7.2 installed.

I downloaded jdk1.7.0_79 64 bit and squirrel-sql-3.7-standard.jar.

I add jdk1.7.0_79/bin to the PATH and try to run squirrel I receive an error about java.awt.Toolkit.


[root@ip-10-0-0-42 tmp]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 7.2 (Maipo)


[root@ip-10-0-0-42 tmp]# java -version

java version "1.7.0_79"

Java(TM) SE Runtime Environment (build 1.7.0_79-b15)

Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)


[root@ip-10-0-0-42 tmp]# echo $PATH



[root@ip-10-0-0-42 tmp]# ls -l

total 210912

drwxr-xr-x. 2 ec2-user ec2-user         6 Feb 16 14:47 hsperfdata_ec2-user

drwxr-xr-x. 2 root     root             6 Feb 16 14:58 hsperfdata_root

drwxrwxr-x. 2 ec2-user ec2-user      4096 Feb 16 14:36 jdbctest

drwxr-xr-x. 8       10      143      4096 Apr 10  2015 jdk1.7.0_79

-rwx------. 1 ec2-user ec2-user 153512879 Feb 16 14:05 jdk-7u79-linux-x64.tar.gz

drwxr-xr-x. 7 root     root          4096 Feb 16 13:44 jtds-1.3

-rwx------. 1 ec2-user ec2-user    551235 Feb 16 13:40 jtds-1.3.1-dist.zip

drwxr-xr-x. 4 root     root          4096 Dec  2 09:02 mysql-connector-java-5.1.38

-rwx------. 1 ec2-user ec2-user   4289879 Feb 16 13:41 mysql-connector-java-5.1.38.zip

-rwx------. 1 ec2-user ec2-user  57593968 Feb 16 14:48 squirrel-sql-3.7-standard.jar


[root@ip-10-0-0-42 tmp]# java -jar squirrel-sql-3.7-standard.jar

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

        at java.awt.Component.<clinit>(Component.java:595)

        at com.izforge.izpack.installer.GUIInstaller.showFatalError(Unknown Source)

        at com.izforge.izpack.installer.GUIInstaller.<init>(Unknown Source)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

        at java.lang.Class.newInstance(Class.java:379)

        at com.izforge.izpack.installer.Installer.main(Unknown Source)



My guess is I am missing required libraries or there is something wrong with the squirrel jar file for Linux.

Any help would be appreciated.

Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
Squirrel-sql-users mailing list
[hidden email]