users@glassfish.java.net

Re: Error during install

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Mon, 04 Jan 2010 09:09:01 -0500

> echo $JAVA_HOME
> /usr/java/jre1.6.0_17/bin/java
>

Can you try setting JAVA_HOME to /usr/java/jre1.6.0_17 instead? The
bin dir is something you'd have in your path, but the JAVA_HOME env
variable should point to the root of the installation. In other words,
scripts normally look for java/jar/etc in $JAVA_HOME/bin.

Cheers,
Bobby