[ubuntu-za] Need help in installation of JAVA & Netbeans !!

frans dormakorp at vodamail.co.za
Thu Jan 19 08:26:38 UTC 2012




On 12/01/19 09:34 AM, Navdeep Singh Sidhu wrote:
> hello
>
> Recently i reinstalled ubuntu on my laptop & when i try to install 
> netbeans on it, it's installer says compatible JDK not found but i had 
> installed JDK 1.7.0_02 on it & i followed these commands
>
> root at S13:/home/nika/Downloads# update-alternatives --config javac
> update-alternatives: error: no alternatives for javac.
> root at S13:/home/nika/Downloads# update-alternatives --install 
> /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_02/bin/javac 1
> update-alternatives: using /usr/lib/jvm/jdk1.7.0_02/bin/javac to 
> provide /usr/bin/javac (javac) in auto mode.
>
> but when i  tried javac command it gives following error
>
> root at S13:/home/nika/Downloads# javac
> bash: /usr/bin/javac: Permission denied
>
> so i remove it using
>
> root at S13:/home/nika/Downloads# update-alternatives --remove-all javac
>
>
> can i get some help?
>
> Regards
> Navdeep Singh
Well I wanted to install last night also... but have not yet gotten to 
that point as there was some packages to fix before I could continue...

I'll try again tonight and let you know, it does how ever seem as if you 
have to check the permissions whith which you are trieing to access the 
program.

-- 
  When working on a computer you have to know enough:
  To fake what you don't know.
  Google what you can't fake.
  How (and when) to 'motivate' the computer to do what Google won't tell.

Frans de Waal
IT Manager/
Dormakorp




More information about the ubuntu-za mailing list