This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing JAVA on Linux

 
sunil mirani
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys .. I am new LINUX ..
i got linux installed on my system .. and now i want to work on java .. i downloded the .bin file and i installed it it created a prm file which i further installed .. i moved the jdk dir to /local.. but nothing seems to work ..
when i go the the jdk1.3/bin and try executing the java command it does not .. and when it type sh java it executes .. but only within the bin ..
how do i make this thing work can any one help .. plz ..
can i uninstall the jdk and re install it .. i dont know how to do it .. if any one could send me a link where i could find step by step installation guide that would be great ..one more thing i am using redhat ..
Thanks guys ..
SUNIL
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why did you move the jdk Direcory? It's easiest just to leave it in the default directory that the RPM install set which is usr\java\jdk1.3
Yes, you can uninstall the JDK. The easiest way is to use the RPM manager inside one of the X Windows GUI's. KDE, GNOME, etc. You can select the package, then click an uninstall button.
Once you got it installed to your liking, you must specify the path and CLASSPATH. In your root directory or home directory (depending on how you log in) there is a file called .bashrc (this of course is if you are in the bsh shell). There will be a path statement in that file. YOu need to add the JDK/BIN to that path. Then set the classpath to your working java directory (Wherever you will be compiling your code).
This needs to be in the LINUX Forum.
------------------
Happy Coding,
Gregg Bolinger
[This message has been edited by Gregg Bolinger (edited December 21, 2001).]
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK - I will move it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic