#!/bin/sh
# Copyright (C) 2000-2012 Synology Inc. All rights reserved.

. /etc/profile
. `dirname $0`/string_loader

if grep JAVA_HOME /etc/profile ; then
	echo "$detected_java" >> $SYNOPKG_TEMP_LOGFILE
	exit 1
fi

exit 0
