Results 1 to 7 of 7

Thread: Compiling and Running Java Programs

  1. #1

    Re: FAQ: Compiling and Running Java Programs

    Original thread: here
    /EDIT

    The following does not, in fact, install anything for me. I imagine the file is obsolete... but I'm a newb so I'll dust off a years-old thread




    This package installs the essential tools needed to write and run Java programs.

    Code:
    sudo aptitude install sun-java6-jdk
    Last edited by sisco311; September 13th, 2011 at 11:53 PM. Reason: added link to original thread

  2. #2
    Join Date
    Nov 2010
    Location
    Down the rabbit hole
    Beans
    435
    Distro
    Ubuntu Development Release

    Re: FAQ: Compiling and Running Java Programs

    So? What's your problem?

  3. #3

    Re: FAQ: Compiling and Running Java Programs

    Code:
    sudo aptitude install sun-java6-jdk[/QUOTE]

    only gets me this:
    No candidate version found for sun-java6-jdk

  4. #4
    Join Date
    Oct 2008
    Beans
    32

    Re: FAQ: Compiling and Running Java Programs

    Applications/Ubuntu Software Center - type in the search Windows at the top "Java" with out the quotations and hit enter, install it using the GUI..



    Quote Originally Posted by anotherusernametoforget View Post
    Code:
    sudo aptitude install sun-java6-jdk
    only gets me this:
    No candidate version found for sun-java6-jdk[/QUOTE]

  5. #5
    Join Date
    Dec 2008
    Location
    Deep Woods of PA
    Beans
    699
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: FAQ: Compiling and Running Java Programs

    Quote Originally Posted by JD8182 View Post
    Applications/Ubuntu Software Center - type in the search Windows at the top "Java" with out the quotations and hit enter, install it using the GUI..
    Do you have these in your /etc/apt/sources.list
    Code:
    deb http://archive.canonical.com/ubuntu lucid partner
    deb-src http://archive.canonical.com/ubuntu lucid partner
    Regards,

    Karlson

  6. #6
    Join Date
    Nov 2010
    Location
    Down the rabbit hole
    Beans
    435
    Distro
    Ubuntu Development Release

    Re: FAQ: Compiling and Running Java Programs

    Or you can enable the partner repos from the update manager as on screenshot.
    Attached Images Attached Images

  7. #7
    nmaster is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Jun 2009
    Beans
    718

    Re: FAQ: Compiling and Running Java Programs

    i think that you want to the openJDK package.
    Code:
    sudo apt-get install openjdk-6-jdk

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •