#!/bin/bash # This is a bugfix for a version of dv-with-java.sh that used the # wrong name for bcprov-jdk15-126.jar in the CLASSPATH statement. # Rename this to dv-with-java.sh and change the execute bit: # chmod u+x dv-with-java.sh # NOTE: this startup script will start a dataview distro that uses # a pre-installed version of Java. If the java command is not in # your path you will have to modify your .profile or .bash_profile # depending on your Linux distro. These are hidden files in your # /home/your_username directory. # This script assumes that the jar files mentioned in the CLASSPATH # have been put in the dataview/lib directory. To start dataview # move to the dataview install directory and type # ./dv-with-java.sh APPDIR=. # You may want to set APPDIR to the path of your dataview install # example: APPDIR=/home/your_username/dataview and put a copy in # /home/your_username/bin so you can call it from outside dataview # using dv-wth-java.sh (without ./) CLASSPATH=$APPDIR/lib/dataview-0.8.9.jar:$APPDIR/lib/xercesImpl.jar:$APPDIR/lib/bcprov-jdk15-126.jar # file with default startup configuration PROFILE=$APPDIR/conf/profile.conf exec java -cp ${CLASSPATH} com.neolectric.dvgui.DataView ${PROFILE} &