java 1.7.0_60 problems

Discussion in 'General Discussion' started by xwalter, Nov 16, 2014.

  1. xwalter

    xwalter Member

    Joined:
    Sep 8, 2014
    Messages:
    89
    Likes Received:
    4
    I have followed this tutorial http://www.udoo.org/ProjectsAndTutorial ... os-ubuntu/
    At the end pratically nothing runs ...Arduino IDE doesn't start
    If I enter java -version the prompt is "ubuntu@udoobuntu .....
    If I enter javac -version the same
    If I check into the /usr/lib/jvm I see the new folder of jdk1.7.0_60

    If I enter sudo update-alternatives --config java digitaredcome ....

    Selection Path Priority Status
    0 /usr/lib/jvm/java-6-openjdk-armhf/jre/bin/java 1057 auto mode
    1 /usr/lib/jvm/java-6-openjdk-armhf/jre/bin/java 1057 manual mode
    2 /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/java 1043 manual mode
    3 /usr/lib/jvm/jdk1.7.0_60/bin/java 1 manual mode

    Eclipse crash .....
    How to set jdk1.7.0_60 in automatic mode , what about priority
    Maybe must to remove the old version openjdk6 and 7 before install oracle jdk1.7.0_60 ???
     
  2. indianerjones

    indianerjones New Member

    Joined:
    Mar 10, 2014
    Messages:
    18
    Likes Received:
    1
    Did you alter the commands in the tutorial according to your java version? Note that the tutorial uses 1.7.0_45, while you are using 1.7.0_60.
    Did you accidentally install the x86 version?
    Have you checked you entered all the commands in the tutorial? It looks like the Oracle Java was not properly selected as the default one. This might be because you forgot to do so or because you just copy/pasted the commands without correcting the 45 to 60.
     
  3. xwalter

    xwalter Member

    Joined:
    Sep 8, 2014
    Messages:
    89
    Likes Received:
    4
    the _45 doesn't exist on oracle page.
    I think the variation between _45 and _60 isn't important ......
    If i select one of three chances nothing change , but now I have reloaded the back up and I remain with openjdk ......6
     
  4. indianerjones

    indianerjones New Member

    Joined:
    Mar 10, 2014
    Messages:
    18
    Likes Received:
    1
    It is important in the sense that the configuration fails if you install _60, but type _45 everywhere. That's what seems to be your problem, judging from your last post.
     
  5. xwalter

    xwalter Member

    Joined:
    Sep 8, 2014
    Messages:
    89
    Likes Received:
    4
    If you're sure I will find out the _45 ....:(
     
  6. indianerjones

    indianerjones New Member

    Joined:
    Mar 10, 2014
    Messages:
    18
    Likes Received:
    1
    No, you still don't understand. If you use another software version, you have to alter all the commands you type in from the tutorial.
    Code:
    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_45/bin/java" 1
    becomes
    Code:
    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_60/bin/java" 1
    That's what I was trying to tell you. Have you done this or did you just copy/paste the commands?
     
  7. xwalter

    xwalter Member

    Joined:
    Sep 8, 2014
    Messages:
    89
    Likes Received:
    4
    don't think I'm so stupid .... :cool:
     
  8. whitakeshriram

    whitakeshriram UDOOer

    Joined:
    Oct 2, 2020
    Messages:
    19
    Likes Received:
    0
    That's what seems to be Speed Test your problem, judging from your last post.
     
  9. whitakeshriram

    whitakeshriram UDOOer

    Joined:
    Oct 2, 2020
    Messages:
    19
    Likes Received:
    0
    That's what seems to be your Speed Test problem, judging from your last post.
     

Share This Page