Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

11
  • After running the second command, I am getting: There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java Nothing to configure. update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java because link group java is broken And still the same error when trying to run arduino
    – Fauzan
    Commented Jun 28, 2016 at 15:59
  • Can you please post the output of strace -f java -version?
    – Michael D
    Commented Jun 28, 2016 at 17:04
  • It is too long, more than 200k characters, cant post here.
    – Fauzan
    Commented Jun 29, 2016 at 8:31
  • On pastebin: pastebin.com/sythD16e
    – Fauzan
    Commented Jun 29, 2016 at 8:40
  • I still think it is a link problem. Try this rm -rf /usr/bin/java and ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java /usr/bin/java. Next time while posting comments, please format it accordingly. It's difficult to read the sys output on your previous comment.
    – Michael D
    Commented Jun 29, 2016 at 10:10