Created
July 12, 2016 14:09
-
-
Save mystygage/ea64e22e7e19e72ab4d44e45d0547cde to your computer and use it in GitHub Desktop.
Startup script for DBVisualizer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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