Results 1 to 7 of 7

Thread: Java install

  1. #1
    Join Date
    Aug 2011
    Location
    colorado
    Beans
    66
    Distro
    Kubuntu

    Java install

    Problem:

    terminal command: sudo apt-get install sun-java6-jdk sun-java6-jre
    terminal responds: E: Package 'sun-java6-jre' has no installation candidate

    any Idea?

  2. #2
    Join Date
    Mar 2010
    Beans
    Hidden!

  3. #3
    Join Date
    Aug 2011
    Location
    colorado
    Beans
    66
    Distro
    Kubuntu

    Thumbs down Re: Java install

    Thank you

  4. #4
    Join Date
    Mar 2010
    Beans
    Hidden!

    Re: Java install

    Yea, options are OpenJDK and/or Oracle java (aka java 7) ... more info here... https://help.ubuntu.com/community/Java

  5. #5
    Join Date
    Aug 2011
    Location
    colorado
    Beans
    66
    Distro
    Kubuntu

    Angry Re: Java install

    i read the links and installed openjdk-6-jdk and openjdk-6-jre and i get this msg when i try to execute a .sh:
    if ! java -version > /dev/null 2>&1
    then
    echo "Could not find Java."
    echo "You must have Java installed and in your path."
    exit
    fi

    relativePathToGame=`dirname $0`
    cd $relativePathToGame


    java -Xmx512m -cp bin/patch.jar:bin/triplea.jar games.strategy.engine.framework.GameRunner

    do you have any ideas?

  6. #6
    Join Date
    Mar 2010
    Beans
    Hidden!

    Re: Java install

    Hi,
    I don't use OpenJDK so presently I don't have java (sun, oracle) installed in my linux partion... this means if I tell you to do some troubleshooting steps it's going to be guess-work, so I think it will be better to wait for somebody actually running OpenJDK, who can guide you more properly. Sorry.

    BTW you did UN-install Sun java before migrating to OpenJDK, right? if not probably Sun is still default!?? .... just a hunch...

    EDIT: you seem to have posted this on here http://kubuntuforums.net/forums/index.php?topic=3119768 also, well good luck there, I'm out!
    Last edited by d2btoo; December 20th, 2011 at 10:55 AM.

  7. #7
    Join Date
    Apr 2007
    Beans
    616
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Java install

    Quote Originally Posted by sinbowden View Post
    Problem:

    terminal command: sudo apt-get install sun-java6-jdk sun-java6-jre
    terminal responds: E: Package 'sun-java6-jre' has no installation candidate

    any Idea?
    I basically followed the advice on this link http://www.webupd8.org/2011/09/how-t...-7-jdk-in.html and just installed oracle java 7 so far it works great

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
  •