Dear Ronny,
here is the java am using.

*smuwa...@linux-simon:~$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
smuwa...@linux-simon*:


Just really wondering why the system-wide environment variables too can't be
recognized by tomcat. :) Is this what really happens with ubuntu 9.04?
Ubuntu 9.10 "saw"*
*them ably. though eclipse was not supported. it would freeze.*

*Might someone be knowing the mistake am making?*

*Thanks,
Simon*
*


On Fri, Jan 15, 2010 at 9:12 PM, Muwonge Ronald <[email protected]> wrote:

> Show us your java version from command line this will show us that you
> installed it otherwise your steps don't show us where you extracted jdk
> Ronny
>
>
> On Thu, Jan 14, 2010 at 10:40 AM, Simon Vass <[email protected]> wrote:
>
>> Dear Simon,
>>
>> You need to define JAVA_HOME and CATALINA them usually system wide to make
>> it easier.
>>
>> https://help.ubuntu.com/community/EnvironmentVariables
>>
>> /etc/environment being a good one.
>>
>>
>>
>> Simon Vass
>> Technical Manager
>> E-Tech Uganda Ltd
>> http://www.etech.ug
>> Tel: +256 (0) 312260620 or (0) 312260621
>> Email: [email protected]
>>
>>
>>
>> ----- Original Message -----
>> From: "Simon Peter Muwanga" <[email protected]>
>> To: "Linux Users Group Uganda" <[email protected]>
>> Sent: Thursday, 14 January, 2010 10:33:54 GMT +03:00 Iraq
>> Subject: [LUG] Tomcat5.5+Ubuntu Configuration
>>
>>
>> Morning,
>>
>> I have switched to ubuntu, from the renowned openSuse.
>>
>> Am having problems configuring tomcat5.5 on ubuntu, just the way it was
>> with Suse.
>>
>> Here is how I have gone so far;
>> -Downloaded apache tomcat .tar,
>> -Extracted it
>> -Copied the extracted folder-contents into /usr/local/tomcat
>> -Defined JAVA_HOME as /home/smuwanga/software/applications/jdk1.6.0_18
>> -Defined CATALINA_HOME as /usr/local/tomcat
>> -Run # sudo ./startup.sh
>>
>> However, an error like this is returned.
>>
>> 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
>>
>> How am I meant to go over this?
>>
>> I have also visited
>> http://ubuntuforums.org/showthread.php?p=2611681#post2611681 , this way
>> tomcat installs, but after deploying a *.war file, the resource is not
>> available.
>>
>> BTW, am using ubuntu 9.0.4
>>
>> How can I go about this?
>>
>> Regards,
>> Simon.
>>
>> _______________________________________________
>> LUG mailing list
>> [email protected]
>> http://kym.net/mailman/listinfo/lug
>> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>>
>> The above comments and data are owned by whoever posted them (including
>> attachments if any). The List's Host is not responsible for them in any way.
>> ---------------------------------------
>>
>> _______________________________________________
>> LUG mailing list
>> [email protected]
>> http://kym.net/mailman/listinfo/lug
>> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>>
>> The above comments and data are owned by whoever posted them (including
>> attachments if any). The List's Host is not responsible for them in any way.
>> ---------------------------------------
>>
>>
>
> _______________________________________________
> LUG mailing list
> [email protected]
> http://kym.net/mailman/listinfo/lug
> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The List's Host is not responsible for them in any way.
> ---------------------------------------
>
>
>
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to