aspose file tools*
The moose likes Linux / UNIX and the fly likes How to install jdk on linux? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to install jdk on linux?" Watch "How to install jdk on linux?" New topic
Author

How to install jdk on linux?

Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
Hi all
I'm new to linux world,I'm trying to install a software as visualcafe or jbuilder or jdk on my linux system.
when i put the cd in my CDROM i do not know how to continue from there,basically with NT or windows i go to cdrom drive and doubleclick on it and i continue from there.also most of the time as soon as i put the cd in CDROM it starts by itself.that does not happen with linux.just i hear noise and nothing happened at all.
Please if you would tell me what do i have to do and how to install something from my CDROM and which directory do i have to use to access CDROM.
As I said I'm very new to linux environment.
Also I cannot shutdown my system when I write shutdown on the command line from the terminal and when I choose logout from the start menu and select logout,something happened and I get always again the screen for password and user.The only way to logout rightnow for me is to use halt or restart and take out the boot floppy.
please advise.
Thanks for your time.


Thanks for your help.
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
when using linux or unix with a cd you need to first mount the CD using the mount command, as the root user.
You mount the CD using a 'mount point' which, once the CD is mounted, becomes the root directory of the CD.
type 'man mount' for more information on the mount command.
the command's parameters will vary depending on the distribution, which set out the /dev (device) directory slightly differently, but the kind of thing you will need to type in will look something like:
mount -t iso9660 /dev/cdrom /cdrom
(the device name varies between distributions - and my example assumes that your CD is iso9660 format - it is possible that a CD might use other formats. the mount point in my example is /cdrom.)
to remove the cd from the drive after use you will first need to use the 'umount' command (as root again) to un-mount the CD.
umount /cdrom
BTW what distribution are you using?
[This message has been edited by George Brown (edited August 22, 2001).]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to install jdk on linux?