> I tried to install sun studio (tarfile), but when i
> type sunstudio in command line it says that java isnt
> installed, and prep_system says it is (and its true).
> what have i to do?
Are you sure that Java is in your $PATH? Type "java" in your bash terminal; you should see this:
Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.
If you don't see the above message, you need to add the following lines to your ~/.bashrc:
JDK_HOME=/opt/jdk1.6.0_01;export JDK_HOME
if [ -z "${PATH}" ]
then
PATH="/opt/jdk1.6.0_01/bin"; export PATH
else
PATH="$PATH:/opt/jdk1.6.0_01/bin"; export PATH
fi
where /opt/jdk1.6.0_01 must be replaced by your Java's directory.