DBVisualizer won’t start on Linux

Jeyanthan I
1 min readSep 19, 2017

--

I had to install DBVisualizer for connecting with my test databases and couldn’t get it working. Everytime I run ./dbvis, it halts for 3–5 secs and gets back to the terminal throwing no errors.

I stumbled upon this old post and found that it could be due to the fact that I’m using OpenJDK and it requires OracleJDK. The following is how I had to get it working.

  • Create a file in the DbVisualizer installation directory where you have extracted under .install4j directory

$ echo “/path/to/jre” > /path/to/DBVisualizer-installer/.install4j/pref_jre.cfg

  • Start DBVisualizer now

$ ./dbvis

--

--