Re: java install (was bash/terminal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 26 April 2003 11:28 pm, anthony baldwin wrote:

> Aha!  We're getting somewhere!
> What you are saying makes no sense to me, therefore,
> It must be important!  Obviously, since I don't comprehend, I did not
> do that. I'm afraid that "export so it is in my path" confuses me.
> Which path?  You'll have to excuse me.  I'm a bit of a newbie,
> having only been using Linux for about a year now.  It seems
> that I have learned much in some areas, but am still totally clueless
> in others.
>
> If you do "echo
>
> >$PATH" from the command line (without the quotes) does the java dir
> > show up in your path?
>
> Okay, I did echo $PATH and I got
> /use/kerberos/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin
>
> Should the java be in there somewhere too?
> How do I export it so it is in the path?

I haven't followed this thread.

I hope the above path has a typo or two...
(no /bin in path?)
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/mfratoni/bin:/usr/java/j2re1.4.1/bin

To add the java path to your current PATH, you need to find where your 
java was installed. Probably /usr/java/some_version/, mine is in 
/usr/java/j2re1.4.1.

Once you have the correct path:
export PATH=$PATH:/usr/java/j2re1.4.1/bin

(The above assumes that java is in /usr/java/j2re1.4.1, of course.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+q1Gun/07WoAb/SsRAjI2AJ9xoGZdiaUUG2hJlDcq0brZD3nLkQCfUN1Y
VgvI35kARfWyVitREgRMMxw=
=/+Px
-----END PGP SIGNATURE-----





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux