• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Installing JAVA on Linux

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK - I will move it.
 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic