Results 1 to 9 of 9

Thread: installing Java

  1. #1
    Join Date
    Mar 2007
    Beans
    118
    Distro
    Ubuntu 9.10 Karmic Koala

    installing Java

    I need to install Java to use smartSVN. When I run smartSVN for the first time it tells me that it can't find /bin/java (it's not there, I did a ls | grep java with no results). I tried to install Java using
    Code:
    sudo apt-get install sun-java6-jre
    sudo apt-get install sun-java6-bin
    and there is still no /bin/java... I'm not really sure what to do here.

    EDIT: added the in the 6 to sun-java6-bin
    Last edited by colsandurz; January 19th, 2009 at 02:48 AM.

  2. #2
    Join Date
    Nov 2008
    Location
    /dev/null
    Beans
    269
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: installing Java

    try getting sun java 6 runtime from add/remove
    Quote Originally Posted by Skripka View Post
    Well you see, just as users get baffled and confused by having more than one mouse button, having more than one audio I/O is worse than trying to set a VCR clock.

  3. #3
    Join Date
    Nov 2008
    Location
    Fortson, GA
    Beans
    1,008
    Distro
    Ubuntu Development Release

    Re: installing Java

    Try:

    Code:
    sudo apt-get install sun-java6-bin
    instead of

    Code:
    sudo apt-get install sun-java-bin
    Let me know if that works or not.

  4. #4
    Join Date
    Mar 2007
    Beans
    118
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: installing Java

    oh, my mistake I used
    Code:
    sudo apt-get install sun-java6-bin
    the whole time, I just forgot to type in the six.

  5. #5
    Join Date
    Nov 2008
    Location
    /dev/null
    Beans
    269
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: installing Java

    or try getting it from synaptic, there is a sun-java6-bin in there
    Quote Originally Posted by Skripka View Post
    Well you see, just as users get baffled and confused by having more than one mouse button, having more than one audio I/O is worse than trying to set a VCR clock.

  6. #6
    Join Date
    Mar 2007
    Beans
    118
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: installing Java

    yeah, I am going to remove everything related to java and then try to reinstall. Do you have any idea why it wouldn't create the /bin/java directory the first time.

  7. #7
    Join Date
    Nov 2008
    Location
    /dev/null
    Beans
    269
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: installing Java

    nope not really mine isnt there either, but everything app wise that i have that requires java works perfectly.
    Quote Originally Posted by Skripka View Post
    Well you see, just as users get baffled and confused by having more than one mouse button, having more than one audio I/O is worse than trying to set a VCR clock.

  8. #8
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: installing Java

    Quote Originally Posted by colsandurz View Post
    yeah, I am going to remove everything related to java and then try to reinstall. Do you have any idea why it wouldn't create the /bin/java directory the first time.
    /bin/java ?

    You mean /usr/lib/jvm/java-6-sun-1.6.0.10/bin/ or something like that ?

  9. #9
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: installing Java

    I just checked on Ubuntu Hardy (I didn't have java installed) :
    The java binary is in here /usr/lib/jvm/java-6-sun-1.6.0.07/bin/
    So.. to satisfy the "needs" of the application you want to run, for Hardy you can do this :
    Code:
    sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.07/bin/java /bin/java
    And run your application again.

    Again, this is for Hardy, check where your java binary is exactly, and adjust the above command to your needs.
    I admit that this is an ugly solution, but it could work right away.
    Better is to check the documentation of the application, maybe it's possible to define some JAVA_HOME (or something) environment variable.

Bookmarks

Posting Permissions

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