• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

which java sdk?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Saloon Keeper
Posts: 22265
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
roy joseph
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rpm or sh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic