Hello guys i am trying to install WebGoat 5.1 on my linux i got alredy installed java jdk 1.5 but i have problem with that webgoat.sh.... i just cant figure it out it always says that i need to point my java_home... i did it but it still print that message.... help me out there is code of my webgoat.sh
if [ "X$JAVA_HOME" != "X" -a -d $JAVA_HOME ]; then
$JAVA_HOME/bin/java -version 2>&1 | grep 'version \"1.5' >/dev/null
if [ $? -ne 0 ]; then
echo "The JVM in \$JAVA_HOME isn't version 1.5."
echo "Please set JAVA_HOME to a Java 1.5 JDK install"