users@glassfish.java.net

Re: Preferred X86-64 Linux Distribution for Glassfish

From: Elan <thinklog_at_gmail.com>
Date: Mon, 2 Nov 2009 23:42:34 -0800

To answer my own question, it appears that I had to add "multiverse" to the
repository list. Now it did install fine. I still have to test it, but I'm
happy that at least it did install. Cool.

On Mon, Nov 2, 2009 at 11:33 PM, Elan <thinklog_at_gmail.com> wrote:

> Hi.
>
> On an X86-64 Ubuntu 9.04 jaunty system I am trying to install java jdk, to
> be able to run glassfish.
>
> apt-get install sun-java6-jdk
>
> 1. Running apt-get install I get the following error:
> E: Package sun-java6-jdk has no installation candidate
>
> 2. Incidentally, apt-get update says:
>
> 3. Maybe I'm missing some repository? If so, how do I add the missing
> repository?
>
> 4. I'd much appreciate some advice.
>
> 1. Running apt-get I get the following error:
> apt-get install sun-java6-jdk
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package sun-java6-jdk is not available, but is referred to by another
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package sun-java6-jdk has no installation candidate
>
> 2. Incidentally, apt-get update says:
> apt-get update
> Hit http://security.ubuntu.com jaunty-security Release.gpg
> Hit http://archive.ubuntu.com jaunty Release.gpg
> Hit http://archive.ubuntu.com jaunty-updates Release.gpg
> Hit http://security.ubuntu.com jaunty-security Release
> Hit http://archive.ubuntu.com jaunty Release
> Hit http://archive.ubuntu.com jaunty-updates Release
> Hit http://security.ubuntu.com jaunty-security/main Packages
> Hit http://archive.ubuntu.com jaunty/main Packages
> Hit http://archive.ubuntu.com jaunty/restricted Packages
> Hit http://archive.ubuntu.com jaunty/universe Packages
> Hit http://security.ubuntu.com jaunty-security/restricted Packages
> Hit http://security.ubuntu.com jaunty-security/universe Packages
> Hit http://archive.ubuntu.com jaunty/main Sources
> Hit http://archive.ubuntu.com jaunty/restricted Sources
> Hit http://archive.ubuntu.com jaunty/universe Sources
> Hit http://archive.ubuntu.com jaunty-updates/main Packages
> Hit http://archive.ubuntu.com jaunty-updates/restricted Packages
> Hit http://archive.ubuntu.com jaunty-updates/universe Packages
> Hit http://security.ubuntu.com jaunty-security/main Sources
> Hit http://security.ubuntu.com jaunty-security/restricted Sources
> Hit http://security.ubuntu.com jaunty-security/universe Sources
> Hit http://archive.ubuntu.com jaunty-updates/main Sources
> Hit http://archive.ubuntu.com jaunty-updates/restricted Sources
> Hit http://archive.ubuntu.com jaunty-updates/universe Sources
> Reading package lists... Done
>
> 3. Maybe I'm missing some repository? If so, how do I add the missing
> repository?
>
>
>
> On Fri, Oct 30, 2009 at 2:50 AM, Barry van Someren <goltharnl_at_gmail.com>wrote:
>
>> Hi,
>>
>> You should be fine with Ubuntu 9.04; I run it on a desktop with the
>> sun-java-6 vm.
>> Just apt-get sun-java-6 (iirc)
>>
>> Also, you can use Redhat Enterprise / CentOS, which works like a charm
>> for me and has been for the past years.
>>
>> Regards,
>>
>> Barry
>>
>> On Fri, Oct 30, 2009 at 03:01, Hassan Schroeder
>> <hassan.schroeder_at_gmail.com> wrote:
>> > On Thu, Oct 29, 2009 at 6:48 PM, Elan <thinklog_at_gmail.com> wrote:
>> >
>> >> I was using Ubuntu 9.04 (jaunty) on a X86-64 cloud server, but found it
>> >> impossible to install the required Sun JDK 5.x for this 64 bit
>> platform, and
>> >
>> > I've never had a problem installing a JDK on any Linux platform.
>> > What errors did you have? And why JDK 5 anyway?
>> >
>> >> - consequenty - I was not able to install Glassfish V3.
>> >> Does anyone have experience with installing and running Glassfish V3
>> under a
>> >> X86-64 Linux distribution?
>> >
>> > Currently running GF v3 on various Red Hat Enterprise clones with
>> > JDK 6, no problems.
>> >
>> > HTH,
>> > --
>> > Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
>> > twitter: @hassan
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>> >
>> >
>>
>>
>>
>> --
>> Barry van Someren
>> ---------------------------------------
>> LinkedIn: http://www.linkedin.com/in/barryvansomeren
>> Skype: BvsomerenSprout
>> Blog: http://blog.bvansomeren.com
>> KvK: 27317624
>> irc: BarryNL @ FreeNode
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>