Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    altariq Guest

    Default how to install java6 (phossal howto is down)

    So, this howto should work. I tried it yesterday and it works now. It could be that you have to leave out the "" at update-alternatives. I cant try at the moment because im not @work.
    Maybe someone can edit the wiki.


    1) Download the jdk-6-linux-i586.bin from http://java.sun.com to the deskto

    2) chmod +x jdk-6-linux-i586.bin

    3) .\jdk-6-linux-i586.bin

    4) mv jdk1.6.0 /usr/lib/Java6

    5)
    update alternatives --install "/usr/bin/java" "java" "/usr/lib/Java6/bin/java" 1
    update alternatives --set java /usr/lib/Java6/bin/java
    update alternatives --install "/usr/bin/javac" "javac" "/usr/lib/Java6/bin/javac" 1
    update alternatives --set javac /usr/lib/Java6/bin/javac
    update alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/Java6/bin/javaws" 1
    update alternatives --set javaws /usr/lib/Java6/bin/javaws
    update alternatives --install "/usr/bin/apt" "apt" "/usr/lib/Java6/bin/apt" 1
    update alternatives --set apt /usr/lib/Java6/bin/apt

    6) Test the installation

    java -version
    javac -version
    ant
    apt
    Last edited by altariq; 03-22-2007 at 11:18 AM.

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

  3. #3
    altariq Guest

    Default

    thx but the howto from http://phossal.com/thread?view=702216931 describe howto install Java 6 on ubuntu from the bin file.
    And that is what i want.

  4. #4
    Ben Pahne Guest

    Default

    Quote Originally Posted by altariq View Post
    thx but the howto from http://phossal.com/thread?view=702216931 describe howto install Java 6 on ubuntu from the bin file.
    And that is what i want.
    The topic is "Install it the Ubuntu way" or "Install it the Debian way". They only describe the way you can install it. This has nothing to do with the system at all. Ubuntu comes from Debian at it is nearly the same so it is only a "religion" thing about the way you install java. They work all on a Ubuntu System.

  5. #5
    altariq Guest

    Default

    hmm okay the was very easy but okay.

    Here is my error:

    /tmp/make-jpkg.OeVMU13842
    Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh

    No matching plugin was found.
    Removing temporary directory: done


    2 hours now for installing simple java....

  6. #6
    neo Guest

    Default

    Quote Originally Posted by altariq View Post
    hmm okay the was very easy but okay.

    Here is my error:

    /tmp/make-jpkg.OeVMU13842
    Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh

    No matching plugin was found.
    Removing temporary directory: done


    2 hours now for installing simple java....


    Where is your JAVA isntalled and did you have JAVA_HOME variable set and is "javac" in your path? ($JAVA_HOME/bin)

  7. #7
    altariq Guest

    Default

    I'm confused.

    I have no java installed, thats why im trying to install it. In the wiki there is a link to a nice howto which is unfortunatly down.

    I make a complete new install of ox to have no errors. Or better i try to get no errors. and this in the next 1 hour -.-

  8. #8
    Ben Pahne Guest

    Default

    I also found this in the Ubuntu Forum:
    http://wiki.serios.net/wiki/Ubuntu_J...K_installation

    There are a lot of JDK Tutorials.

    This comes close to the phossal's tutorial:
    http://www.ubuntuforums.org/showthre...ht=install+jdk

  9. #9
    altariq Guest

    Default

    Okay, with the 2. howto it works fine. I had to add a few more commands but it works. This evening or tomorrow i will post it here so we can add it to the wiki because i think that is the best way to install the new java6

  10. #10
    Ben Pahne Guest

    Default

    Quote Originally Posted by altariq View Post
    Okay, with the 2. howto it works fine. I had to add a few more commands but it works. This evening or tomorrow i will post it here so we can add it to the wiki because i think that is the best way to install the new java6
    Let's hope the old phossal side comes back online. Otherwise we will steal the tutorial and store it in our wiki.

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
  •