The problem of running Dbvisualizer under JAVA8

Source: Internet
Author: User
Tags dbvisualizer

A few days ago to reload the system, installed JAVA8, run Dbvisualizer today, the newspaper Java.lang.ClassCastException:javax.swing.KeyStroke cannot is cast to Java.lang.Comparable such a mistake. It's a strange thing. My Dbvisualizer version is 7.0.5, it seems that the version does not support JAVA8, can only run under JAVA6, for various reasons, do not want to upgrade. Later found the answer on the official web, as long as a new dbvis_java_home environment variable, specify the version of the JRE you want it. Normal operation, screenshot as follows:


Official website Explanation: http://confluence.dbvis.com/pages/viewpage.action?pageId=3146120


Another: only Spring4 above support JAVA8, so the system installed JAVA8 if you want to run the following procedures Spring4, you need to specify the version of the JRE running, of course, under 8.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.