Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 75410b38657e0ec32d6930da03b45f9df5ed1b50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

# make sure we have JAVA_HOME set
if [ -z "$JAVA_HOME" ]
then
    echo The JAVA_HOME environment variable is not defined
    exit 1
fi

CLASSPATH=

#  Create the classpath for bootstrapping the Server from all the JARs in lib
for file in $KERNEL_HOME/lib/*
do
	if [[ $file == *.jar ]]
	then
        CLASSPATH=$CLASSPATH:$KERNEL_HOME/lib/${file##*/}
	fi
done

Back to the top