 # Java initialization script (sh)

LIBXCB_ALLOW_SLOPPY_LOCK="true"

export LIBXCB_ALLOW_SLOPPY_LOCK

JAVA_HOME=/usr/local/jdk1.6.0_11

JAVA="$JAVA_HOME/jre/bin/java"

export JAVA JAVA_HOME

JAVA_XDG_DATA_DIRS="$JAVA_HOME/jre/lib/desktop"

if test -n "$XDG_DATA_DIRS" ; then
    XDG_DATA_DIRS=$XDG_DATA_DIRS:$JAVA_XDG_DATA_DIRS
else
    XDG_DATA_DIRS=$JAVA_XDG_DATA_DIRS
fi

export XDG_DATA_DIRS

PATH=$PATH:$JAVA_HOME/bin

export PATH

if test -n "$CPPFLAGS" ; then
    CPPFLAGS="-I$JAVA_HOME/include $CPPFLAGS"
else
    CPPFLAGS="-I$JAVA_HOME/include"
fi

export CPPFLAGS