Hello One & All, I've just installed Redhat v9.0 on PC. no issues there. I don't really know a lot about Linux (yet) but I want to get programming in Java asap. Does Java come with Redhat 9, if so where is it installed? If it doesn't come with Redhat 9 how can I install it? My end goal is to install Tomcat so I can write & testServlets & JSP's etc.. Thanks a million - Michael.
No Redhat does not come with the Sun SDK (if that is what you are looking for). You will have to go to http://java.sun.com/j2se/1.4.2/download.html and download the SDK rpm (Linux RPM in self-extracting file). After you install the rpm java will be located in /usr/java/j2sdk1.4.2
Joined: Aug 08, 2003
Just to clarify in the previous post. I am talking about the download version of RedHat 9. I don't know if the retail version comes with the Sun Java SDK.
Joined: Nov 07, 2001
OkiDoki, The java sdk1.4 is now installed & running. Tomcat is installed & running but when I installed j2ee & tried to run a Helloworld servlet it couldn't find the HTTPservlet class. I'm sure I haven't configured something? Has anybody got any suggestions?? Thx - Michael.
You'll need to add Java to the path by editing the profile file: 1. chmod a+x /etc/profile 2. vi /etc/profile 3. update pathmunge such that it points to /usr/java/j2SDK1.4.1_03/Bin "or what ever your java/bin is" 4. re login