PDA

View Full Version : [ubuntu] Java installation issues??



KingTermite
July 17th, 2008, 12:03 AM
I would think Java should be easy to install, but maybe not as easy as I assumed.

I'm running ubuntu 7.10 on a normal spec'd box.

I've done some searching online and find different sites showing different ways of installing java. I finally settled on the simple (hopefully "full" way) of command line from this site:
http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu.html

I've run
apt-get install sun-java6-jre
apt-get install sun-java6-jdk

I'm doing this to run another app I'm trying to setup/configure called Jira. When I run its startup script, I get the following errors:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment variable is needed to run this program.

I would think installing them as above would set the environment vars, wouldn't it? Is there a more thorough process to the installation?

KingTermite
July 17th, 2008, 03:53 PM
Anybody? bump