• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Running Java on Redhat 9

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 & test Servlets
& JSP's etc..
Thanks a million - Michael.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Paul Coates
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
miceal oconnor
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic