Linux Ubuntu help

Discussion in 'General Software' started by generalRage1982hrv, Aug 29, 2008.

  1. generalRage1982hrv

    generalRage1982hrv ARP Reviewer

    i have just instald new ubuntu and i need a little help
    i cant install java or other programs
    ok i know that ubuntu haves many programs but i need to run java on it
    they have changed almost everything on ubuntu
    last version i used is 6.1

    p.s.i cant instal usb mouse
    Last edited: Aug 29, 2008
  2. Unixlord

    Unixlord Newbie

    Since you didn't mention whether you want the development kit or just the runtime environment I'll assume the former which includes the latter.

    From a terminal execute:
    sudo apt-get update && sudo apt-get install -s sun-java6-jdk
    This will update the packages list and then simulate the process without downloading/installing anything.

    Review the output and If the listed packages are what you want then just remove the '-s' and execute away. If it isn't since the dev kit basically depends on the rest you'll be able to find the package you were looking for and install that one.

    If you need java5 then you'll simply need to change it to sun-java5-jdk.
    The runtime environment is sun-java*-jre and sun-java*-bin.

    If you just need the browser plugin with the accompanying runtime environment then all you need (after updating the repository) is:

    sudo apt-get install sun-java6-plugin
    Easy as pie. :thumb:

    ps: why can't you install a mouse?

Share This Page