Problem: Old DBVis doesn't work with 1.7
"java.lang.ClassCastException: javax.swing.KeyStroke cannot be cast to
java.lang.Comparable"
Check Java Version Available
pc:/home/user # update-alternatives --list java
/usr/lib64/jvm/jre-1.5.0-gcj/bin/java
/usr/lib64/jvm/jre-1.6.0-openjdk/bin/java
/usr/lib64/jvm/jre-1.7.0-openjdk/bin/java
Set Java Version
pc:/home/user # update-alternatives --set java
/usr/lib64/jvm/jre-1.6.0-openjdk/bin/java
update-alternatives: using /usr/lib64/jvm/jre-1.6.0-openjdk/bin/java to
provide /usr/bin/java (java) in manual mode.
Check Java Version
pc:/home/user # java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (suse-9.1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
"java.lang.ClassCastException: javax.swing.KeyStroke cannot be cast to
java.lang.Comparable"
Check Java Version Available
pc:/home/user # update-alternatives --list java
/usr/lib64/jvm/jre-1.5.0-gcj/bin/java
/usr/lib64/jvm/jre-1.6.0-openjdk/bin/java
/usr/lib64/jvm/jre-1.7.0-openjdk/bin/java
Set Java Version
pc:/home/user # update-alternatives --set java
/usr/lib64/jvm/jre-1.6.0-openjdk/bin/java
update-alternatives: using /usr/lib64/jvm/jre-1.6.0-openjdk/bin/java to
provide /usr/bin/java (java) in manual mode.
Check Java Version
pc:/home/user # java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (suse-9.1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
No comments:
Post a Comment