This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Running Java on Redhat 9

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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
 
Those are the largest trousers in the world! Especially when next to this ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic