[PLUG] I'm having trouble installing the Java Development Kit (JDK).

Genaro Hernandez genaro at pdx.edu
Thu Sep 10 18:16:26 UTC 2015


I'm so sorry for not including the error I am getting. Here is the error:

   - g... at Caterina:/usr/local/java$ sudo update-alternatives --set javac
   /usr/local/java/jdk1.7.0_80/bin/javac
   update-alternatives: error: no alternatives for javac


On Thu, Sep 10, 2015 at 2:10 PM, Genaro Hernandez <genaro at pdx.edu> wrote:

> Hi everyone.
>
> I'm contacting you because I'm trying to install the JDK on Ubuntu 14.04
> but having trouble. I was hoping someone on the mailing list could help me.
> So far, my online search has not been helpful.
>
> I was following this video https://www.youtube.com/watch?v=LR_sDdZ0aOk,
> and specifically the Ubuntu commands for installing the JDK. I was doing
> fine until this command:
>
>    - sudo update-alternatives --install "/usr/bin/javac" "javac"
>    "/usr/local/java/jdk1.7.0_25/bin/ja­vac" 1
>
> I updated that command for '1.7.0_80' since that is the JDK I am
> installing.
>
> I'm attaching a text file with the Ubuntu commands I was following.
>
> Thank you for your help!
>
>



More information about the PLUG mailing list