Skip to content

Instantly share code, notes, and snippets.

@mystygage
Created July 12, 2016 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mystygage/ea64e22e7e19e72ab4d44e45d0547cde to your computer and use it in GitHub Desktop.
Save mystygage/ea64e22e7e19e72ab4d44e45d0547cde to your computer and use it in GitHub Desktop.
Startup script for DBVisualizer
#!/bin/sh
# Script to launch DbVisualizer by manually invoking Java
# Please note that it's *not* recommended to launch DbVisualizer
# with this script. Instead use the "dbvis" launcher on UNIX/Linux
# or the command "open DbVisualizer.app" on Mac OS X.
if [ -z "$DBVIS_HOME" ] ; then
DBVIS_HOME=`dirname $0`
fi
DBVIS_HOME="/Applications/DbVisualizer.app/Contents/Resources/app"
JAVA_EXEC=java
CP="$DBVIS_HOME/resources"
CP="$CP:$DBVIS_HOME/lib/*"
$JAVA_EXEC -Xmx1G -Dsun.locale.formatasdefault=true -splash:"$DBVIS_HOME/resources/splash-animated.gif" -Ddbvis.home="$DBVIS_HOME" -cp $CP com.onseven.dbvis.DbVisualizerGUI "$@" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment