[Scottish] Hopeless newbie does Tomcat (or not, as the case may
be...)
Danny Owens
danny at ipalchemy.com
Thu Oct 20 10:30:12 BST 2005
Hi Steve,
Once you have done the rpm installation, you can manually check that
java has been installed to /usr/java/j2sdk[version]/
(please ignore your jre for now as it is not needed by tomcat)
Now set up the environment variables like so;
JAVA_HOME=/usr/java/j2sdk[version]
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
(You can place these in /etc/profile.local on SuSe when you know it works.)
You can test java and javac at the command line.
If you install tomcat you will also probably need ANT - both Tomcat and
ANT have their own environment variables that need set (see install docs).
You will also need to set a CLASSPATH environment variable if you put
any java classes in non-standard places.
I hope this helps...
best,
Danny
Steve Logan wrote:
>> rpm -Uvh jre-1_5_0_05-linux-i586.rpm
>
>
> Did this for both the JRE and JDK. Should this set the
> $JAVA_<whatever> environment vars or do I need to set them manually?
>
> I'm still confused as to why nothing appeared to happen when I tried
> to install with YaST??
>
> Steve
>
--
The information contained in this e-mail, and any files transmitted with it, is confidential to the intended recipient(s). The dissemination, distribution, copying or disclosure of this message or its contents is prohibited unless authorised by the sender. If you receive this message in error, please immediately notify the sender and delete the message from your system.
Unless expressly stated within the body of this e-mail, this e-mail should not be understood to create any contractual commitments.
You can contact the sender at:
Daniel Owens
+44 1360-449-207
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 19/10/2005
More information about the Scottish
mailing list