Friday, October 28, 2011

Java (SQuirreL SQL CLient) IPv6 fail on Debian

Had a failed install of squirrelsql untill I found this bug report.

Added this IPV4 preference to the end of my squirrel-sql.sh launch command
.
.
.
IPV4="-Djava.net.preferIPv4Stack=true"
# Launch SQuirreL application
$JAVACMD $IPV4 -Xmx256m -cp "$TMP_CP" $MACOSX_SQUIRREL_PROPS -splash:icons/splash.jpg net.sourceforge.squirrel_sql.client.Main --log-config-file "$UNIX_STYLE_HOME"/log4j.properties --squirrel-home "$UNIX_STYLE_HOME" $NATIVE_LAF_PROP $SCRIPT_ARGS
The software update is still broken, but I can connect to a database at last !

No comments:

Post a Comment