How to get java on Ubuntu?

Discussion in 'Computer Software and Operating Systems' started by TheDreamLord, Jun 29, 2011.

  1. TheDreamLord
    OP

    TheDreamLord GBAtemp Advanced Fan

    Member
    926
    103
    Jun 8, 2011
    Ireland
    I've looked up how to use .jar files and get a java plugin for firefox or use wine but theyre all confusing [​IMG] can someone find a guide for "noobs" please? Its really confusing...:/
     
  2. prowler

    prowler Sony

    Member
    9,473
    2,816
    Jul 14, 2009
    Ragol
  3. TheDreamLord
    OP

    TheDreamLord GBAtemp Advanced Fan

    Member
    926
    103
    Jun 8, 2011
    Ireland
  4. Sausage Head

    Sausage Head Lord Sausage LXIX

    Member
    1,677
    19
    Oct 28, 2010
    Netherlands
    alanjohn check ur pm
    openjdk is preloaded in ubuntu. via the repo things you can search for "sun" and select the java things (if you want sun's original java)
     
  5. Jamstruth

    Jamstruth Secondary Feline Anthropomorph

    Member
    3,456
    183
    Apr 23, 2009
    North East Scotland
    You should have Java in Ubuntu as standard. If not it'll be in the restricted extras pack (search for it in the Software Manager)

    To run .jar files you have to mess a bit since Ubuntu will just open them like an archive by default. Get the jar file, right click and go into permissions (I think) and you need to the check the run as executable button. THis has to be done for each jar file you want to. You'll also need to reset the default program for opening .jar files to OpenJDK. Ubuntu can be a bit paranoid over security.