#1121 javaw.exe - System Error: The program can't start because dbgwrapper70.dll is missing from your computer.

All
open
nobody
None
5
2014-07-16
2013-12-30
Paul Makowenskyj
No

Installed on Windows 7
Running IBM Java Runtime 7.0 SR5 (32-bit)

After installing and reinstalling SQuirreL SQL Client numerous times {squirrel-sql-3.5.0-install.jar} I keep getting this error when running squirrel-sql.bat:


javaw.exe - System Error

The program can't start because dbgwrapper70.dll is missing from your computer. Try reinstalling the program to fix this problem. I uninstalled IBM Java Runtime 7.0 SR5 (32-bit) and reinstalled it and I still get this error.

Is this because I don't have a Windows System Environment variable set correctly?

C:\Program Files (x86)\squirrel-sql-3.5.0>squirrel-sql.bat
Using java: javaw.exe
"SQUIRREL_CP="C:\Program Files (x86)\squirrel-sql-3.5.0\squirrel-sql.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\antlr.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\asm-attrs.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\asm.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\autocomplete.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\axis-jaxrpc.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\axis-saaj.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\axis-wsdl4j.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\axis.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\cglib.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\common.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\commons-cli.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\commons-codec.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\commons-collections.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\commons-discovery.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\commons-httpclient.jar";"C:\Program Files(x86)\squirrel-sql-3.5.0\lib\commons-lang.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\commons-logging.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\core.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\forms.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\fw.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\hibernate-annotations.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\hibernate-commons-annotations.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\hibernate-entitymanager.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\hibernate.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\icu4j.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\javahelp.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\jcommon.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\jfreechart.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\jide-oss.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\jmeld.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\jxl.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\log4j.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\nanoxml.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\org.eclipse.equinox.common.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\osgi.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\rsyntaxtextarea.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0
\lib\rtext.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\spring-beans.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\spring-context-support.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\spring-context.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\spring-core.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\stringtemplate.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\swing-worker.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\treetable.jar"
;"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\versioncheck.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\x86.jar";"C:\Program Files (x86)\squirrel-sql-3.5.0\lib\xml-apis.jar""

Discussion

  • I found the file dbgwrapper70.dll in the following directories:
    C:\Program Files\IBM\Java70\bin
    C:\Program Files\IBM\Java70\jre\bin
    C:\Program Files (x86)\IBM\Java70\jre\bin

    I also found this in squirrel-sql.sh:

    IZPACK_JAVA_HOME is filtered in by the IzPack installer when this script is installed

    IZPACK_JAVA_HOME=C:\Program Files (x86)\IBM\Java70\jre

    We detect the java executable to use according to the following algorithm:

    1. If it is located in JAVA_HOME, then we use that; or

    2. If the one used by the IzPack installer is available then use that, otherwise

    3. Use the java that is in the command path.

    if [ -d "$JAVA_HOME" -a -x "$JAVA_HOME/bin/java" ]; then
    JAVACMD="$JAVA_HOME/bin/java"
    elif [ -d "$IZPACK_JAVA_HOME" -a -x "$IZPACK_JAVA_HOME/bin/java" ]; then
    JAVACMD="$IZPACK_JAVA_HOME/bin/java"
    else
    JAVACMD=java
    fi