將JDK從6升級到了7(或從其餘電腦移植DBV文件夾後),每當啓動DbVisualizer 6的時候都會報空指針異常this
在官網上找到了相關的方案,以下:spa
In the DbVisualizer installation directory there is a.install4j directory.指針
In this directory create a file named pref_jre.cfg if it doesn't already exist.it
Open the file in a text editorio
Add the complete path to the root directory for the Java installation you want to use. file
Example: C:\Program Files\Java\jre6.異常