Error! How to install glassfish in ubuntu 9.04??
- by artaxerxe
I try to install GlassFish on my ubuntu, and gets the error:
Could not locate a suitable jar
utility. Please ensure that you have
Java 6 or newer installed on your
system and accessible in your PATH or
by setting JAVA_HOME
when I type:
echo $PATH
it prints out:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/jdk1.6.0_20:/opt/jdk1.6.0_20/bin
Can anybody explain me where is the problem and how to solve it?
i have also read this topic, but it doesn't work.
N.B. Before to reinstall Ubuntu it works fine. This problem comes after reinstallation.