Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
I did try that and the command worked but the error I posted earlier still comes up. Any ideas why? Should I try installing it again. And doing the bashrc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jan 2006
    Posts
    55

    I did try that and the command worked but the error I posted earlier still comes up. Any ideas why? Should I try installing it again. And doing the bashrc again? Thanks again.

    ~Linux1245

  2. #12
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    Quote Originally Posted by Linux1245
    I did try that and the command worked but the error I posted earlier still comes up. Any ideas why? Should I try installing it again. And doing the bashrc again? Thanks again.

    ~Linux1245
    Before you try that type echo $PATH and post the output here. Please let's have a look at what's in your path.

    But yes - Anything is worth a try if nothing is working.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  3. #13
    Just Joined!
    Join Date
    Jan 2006
    Posts
    55
    Here is exactly what comes up.
    Code:
    [root@localhost name]# echo $PATH
    /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
    [root@localhost name]#
    Thanks again

    ~Linux1245

  4. #14
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    Okay - I notice you're doing everything as root. Be careful! It's fine to be root when you need to be but one false move and ....

    The Java binary isn't in your path. Did you add it after all? Try this:

    PATH=$PATH:/usr/java/jre1.5.0_06/bin/java

    Then once again type echo $PATH

    Any difference?
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  5. #15
    Just Joined!
    Join Date
    Jan 2006
    Posts
    55
    I got it working. The java path is in the echo $PATH. I don't know why it worked this time. Oh. I think I had to close it then open again. Thanks everyone for all your help. This really helps me. Thanks again.

    ~Linux1245

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •