Hi,
hackit usolame wrote:
>
> hey brett W. McCoy !!!
> i'm kinda new in linux , i'm using it just 1 month , i understand that
> i should add the jdk direcory to the path , but where is the file that
> i have to set the path line in ? (in dos its AUTOEXEC.BAT ,
> PATH=c:\blablabla) , but where is it on linux ? and what exectly
> should i type ?
In Linux ehe dot at the beggining of a filename means that itīs hidden.
The .bash_profile resides in every users home directory.
As itīs hidden, in order to see it you should type:
% ls -a ~
It should already be there, however, if itīs not create a new one.
The sintax is almost like in DOS, except that you should use : instead
of ; as path separator and that you should export it after defining,
for instance:
PATH=$PATH:$HOME/bin:/usr/local/netscape:$HOME/Office50/bin:/usr/local/jdk117_v1a/bin
export PATH
> Btw - i'm using slackwar 3.5
> and the JDK filename was begin with the letters RH5
> u think its not work under slackwar ?
The point is that Slackware is still based upon libc5 while RedHat 5 is
based upon glibc2 (aka libc6). If you have already installed glibc2 on
your system than it should work fine, otherwise Iīm affraid it wonīt.
At blackdown.org you should find two ĻflavorsĻ of JDK-Linux (libc5 and
glibc2). Make sure you got the right one for your system.
The following text was extracted from the README file:
-----8<-----8<-----8<-----8<-----
Installation
------------
Installation of the Linux JDK is trivial, but you have to get the
version of
the JDK that matches your environment. (If you are not on an x86 based
Linux
system, skip to the bottom of this section). For the x86 processor
family, there are two flavors; the version you get depends on your
environment.
The versions are known as "glibc" and "libc5", and reflect the type of C
runtime library that's installed on your machine. Generally, you should
get
the glibc version if your machine is running glibc, but libc5 should
work
acceptably as well, if you have a recent (say, past April 1, 1998)
version of
the glibc library installed on your machine (RedHat 5.0 by default comes
with
an older version of glibc, you need to get the 2.0.7-7 version from
RedHat to
win).
To discover which kind of system you have, (remember, these instructions
are for x86 based Linux only):
ls -l /lib/libc.so.*
What you are looking for is lines of the form
/lib/libc.so.<num>
If all you see are lines where <num> is 5, then you have libc5. If you
have a line where <num> is 6, then you have glibc, and you should get
the
glibc version. An additional check is to look in /lib for
libdl.so.<num>:
if at least one <num> here is 2, then you definitely have a glibc system
and
you should get the glibc JDK (although I believe the libc version will
also
work for you).
-----8<-----8<-----8<-----8<-----
> please answer to all my questions (:
> thanx & bye
Hope these did.
[]s,
--
Braulio Weimann Gergull -o)
[EMAIL PROTECTED] (o- /\\
Usuario Linux #100566 //\ _\_V
V_/_