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

which java sdk?

roy joseph
Greenhorn

Joined: Dec 26, 2003
Posts: 25
im was going to download the java sdk but stumbled to another brick wall.
what's an RPM file?
there are two java sdk downloads to choose from, which one should i download?
RPM in self-extracting file (j2sdk-1_4_2_04-linux-i586-rpm.bin, 32.77 MB)
self-extracting file (j2sdk-1_4_2_04-linux-i586.bin, 34.17 MB)

what other configurations should i make? like in windows you need to change the path and classpath.

i will be using Slax.


be annoying .. Aku Soku Zan
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
An RPM file is a programm package. Imagine a zip file which knows where to put the installed files. One difference to windows is that you don't install rpms in a single directory but you distibute them to different ones and rpm (the tool) know where to remove them. This package format was first created by red hat but is used now by various distributions.
The selfextracting file will copy the jdk stuff in one single directory.
Has mostly some basic setup routine. Which one you take is unimportant, both contains the same but is different in installation behaviour.
(But the self extracting will work on your slax systems, don't know if
slax supports rpms by default)
you have to set JAVA_HOME (best in your ~yourHome/.profile if you use bash or /etc/profile) and you have to alter your PATH variable to include
$JAVA_HOME/bin (also in ~yourHome/.profile or /etc/profile)
Originally posted by roy joseph:
im was going to download the java sdk but stumbled to another brick wall.
what's an RPM file?
there are two java sdk downloads to choose from, which one should i download?
RPM in self-extracting file (j2sdk-1_4_2_04-linux-i586-rpm.bin, 32.77 MB)
self-extracting file (j2sdk-1_4_2_04-linux-i586.bin, 34.17 MB)

what other configurations should i make? like in windows you need to change the path and classpath.

i will be using Slax.

[ April 13, 2004: Message edited by: Oliver Refle ]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

RPM stands for Red Hat Package Manager. If you don't have the "rpm" program, you don't want the RPM file, you want the other one. RPM is used by Red Hat, Mandrake and several other distros as a means of installing and maintaining packages. It's kind of like the Windows installer, except non-graphical and more powerful (it can check to see if the software is damaged and can tell you where it put all the files). There's also some GUI frontends to drive it, if you prefer.
The Sun JDK RPM doesn't have as much magic in it as many RPMs do - it just explodes the files into /usr/java/jxxxx (jxxx varies with the version of Java you're installing so you can have more than one if you need to).
The alternative, non-rpm version is just unzipped manually by you. The recommended place to unzip it is /usr/java.


Customer surveys are for companies who didn't pay proper attention to begin with.
roy joseph
Greenhorn

Joined: Dec 26, 2003
Posts: 25
how do you install java in linux? tried to find tutorials but they were pretty vague.
cant someone give a stepbystep on how to install it?
roy joseph
Greenhorn

Joined: Dec 26, 2003
Posts: 25
my linux distro dont have rpm support. so how do i go about installing using the other sdk?
ive searched the forum and the threads concerning java installation is so old and i doubt they work now.
Leslie Chaim
Ranch Hand

Joined: May 22, 2002
Posts: 336
rpm or sh


Normal is in the eye of the beholder
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which java sdk?