• Post Reply Bookmark Topic Watch Topic
  • New Topic

installing jdk on linux  RSS feed

 
Parag Mokal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I've just installed linux 7.1 on my machine and I'm new to it. Recently, I got a CD containing jdk on linux. It contains a 'gzip' file. I unzipped it using 'gunzip' facility. Then again I unzipped it using 'unzip' facility. But what I finally got was nothing but all the java files from src.jar in a directory named 'src'.
When I unzip the same file on windows, I get all the direcotries of bin,lib,etc.
Can anyone help me with this?
 
R Hunter
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download the jdk and jre for Linux from sun's website. You can get an rpm version for Redhat or a tar.gz file. I personally have had success with both version. I have the jdk1.3.1 sdk.
Check them out and you should get the right one.
 
Parag Mokal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Thank you for your reply, but downloading jdk form web site will take a lot of time. I browse on net at home. Hence I wanted to install it from the CD I had.
Do you know any magazine which provides jdk on Linux along with a cd? I think that would be a proper choice
 
Greg Harris
Ranch Hand
Posts: 1012
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got the jdk from the book "Just Java 2" by Peter Van der Linden... you can buy that book through JavaRanch! (click here) the cdrom that comes with the book has the jdk's for windows and linux... as well as the API for 1.3, so it is well worth the money.
when i installed my version, i used the sh command:
sh ./j2sdk-1_3_0-linux.sh
the instructions are included with the cdrom.
[This message has been edited by Greg Harris (edited August 30, 2001).]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!