Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > why 32 bit ubuntu can install 64 bit openjdk?

Reply
Thread Tools

why 32 bit ubuntu can install 64 bit openjdk?

 
 
mcheung63@gmail.com
Guest
Posts: n/a
 
      07-02-2013
hi all

why 32 bit ubuntu can install 64 bit openjdk?

/root>uname -a
Linux peter-ubuntu 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
/root>java -version
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

thanks
from Peter ((E-Mail Removed))
 
Reply With Quote
 
 
 
 
Sven K÷hler
Guest
Posts: n/a
 
      07-02-2013
On 02/07/13 15:16, http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> hi all
>
> why 32 bit ubuntu can install 64 bit openjdk?
>
> /root>uname -a
> Linux peter-ubuntu 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


I see a 64Bit kernel. Note the x86_64.

So probably you have ubuntu 64 bit?


Regards,
Sven
 
Reply With Quote
 
 
 
 
Silvio
Guest
Posts: n/a
 
      07-02-2013
On 07/02/2013 02:16 PM, (E-Mail Removed) wrote:
> hi all
>
> why 32 bit ubuntu can install 64 bit openjdk?
>
> /root>uname -a
> Linux peter-ubuntu 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> /root>java -version
> java version "1.7.0_21"
> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
>
> thanks
> from Peter ((E-Mail Removed))
>


Ubuntu is a Java application. Once you installed 64 bit Java your Ubuntu
system became 64 bit as well...
 
Reply With Quote
 
Silvio
Guest
Posts: n/a
 
      07-02-2013
On 07/02/2013 03:07 PM, lipska the kat wrote:
> On 02/07/13 13:54, Silvio wrote:
>> On 07/02/2013 02:16 PM, (E-Mail Removed) wrote:
>>> hi all
>>>
>>> why 32 bit ubuntu can install 64 bit openjdk?
>>>
>>> /root>uname -a
>>> Linux peter-ubuntu 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23
>>> UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>>> /root>java -version
>>> java version "1.7.0_21"
>>> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
>>> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
>>>
>>> thanks
>>> from Peter ((E-Mail Removed))
>>>

>>
>> Ubuntu is a Java application. Once you installed 64 bit Java your Ubuntu
>> system became 64 bit as well...

>
> You're kidding right?
>
> Is it April 1st
>
> lipska
>


Of course I am. The OPs system information states its 64-bitness three
times so I was just indirectly telling him to look a bit harder.

 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      07-02-2013
On Tue, 02 Jul 2013 16:14:33 +0200, Silvio <(E-Mail Removed)>
wrote, quoted or indirectly quoted someone who said :

>Of course I am. The OPs system information states its 64-bitness three
>times so I was just indirectly telling him to look a bit harder.


I would think it plausible an OS installer would automatically choose
64 bit if there is 4+ MB of RAM. What should he type to find out what
he has?
--
Roedy Green Canadian Mind Products http://mindprod.com
Getting information off the Internet is
like taking a drink from a fire hydrant.
~ Mitch Kapor 1950-11-01
 
Reply With Quote
 
Sven K÷hler
Guest
Posts: n/a
 
      07-02-2013
On 02/07/13 22:25, Roedy Green wrote:
> On Tue, 02 Jul 2013 16:14:33 +0200, Silvio <(E-Mail Removed)>
> wrote, quoted or indirectly quoted someone who said :
>
>> Of course I am. The OPs system information states its 64-bitness three
>> times so I was just indirectly telling him to look a bit harder.

>
> I would think it plausible an OS installer would automatically choose
> 64 bit if there is 4+ MB of RAM. What should he type to find out what
> he has?


He already typed "uname -a" which gave him all the information he could
wish for in this case. In particular, the output told him that his
kernel was a 64bit kernel.

It is possible to run odd combinations of a 64Bit kernel and a 32 Bit
userland. However, to the best of my knowledge Ubuntu doesn't support
that. Hence, we should assume that he runs 64Bit userland. Hence,
apt-get installed the 64bit openjdk.


Regards,
Sven
 
Reply With Quote
 
Arne Vajh°j
Guest
Posts: n/a
 
      07-03-2013
On 7/2/2013 3:25 PM, Roedy Green wrote:
> On Tue, 02 Jul 2013 16:14:33 +0200, Silvio <(E-Mail Removed)>
> wrote, quoted or indirectly quoted someone who said :
>
>> Of course I am. The OPs system information states its 64-bitness three
>> times so I was just indirectly telling him to look a bit harder.

>
> I would think it plausible an OS installer would automatically choose
> 64 bit if there is 4+ MB of RAM.


That would be very stupid.

As a 64 bit Java would not run on a 32 bit OS with more than 4 GB of
memory.

> What should he type to find out what
> he has?


That was actually part of OP's post!

Arne

 
Reply With Quote
 
Jukka Lahtinen
Guest
Posts: n/a
 
      07-03-2013
Arne Vajh°j <(E-Mail Removed)> writes:
> On 7/2/2013 3:25 PM, Roedy Green wrote:


>> I would think it plausible an OS installer would automatically choose
>> 64 bit if there is 4+ MB of RAM.


> That would be very stupid.
> As a 64 bit Java would not run on a 32 bit OS with more than 4 GB of
> memory.


There wouldn't BE a 32 bit OS with more than 4 GB of memory, if the OS
installer would automatically choose a 64 bit version.

--
Jukka Lahtinen
 
Reply With Quote
 
Sven K÷hler
Guest
Posts: n/a
 
      07-03-2013
On 03/07/13 17:53, Jukka Lahtinen wrote:
> Arne Vajh°j <(E-Mail Removed)> writes:
>> On 7/2/2013 3:25 PM, Roedy Green wrote:

>
>>> I would think it plausible an OS installer would automatically choose
>>> 64 bit if there is 4+ MB of RAM.

>
>> That would be very stupid.
>> As a 64 bit Java would not run on a 32 bit OS with more than 4 GB of
>> memory.

>
> There wouldn't BE a 32 bit OS with more than 4 GB of memory, if the OS
> installer would automatically choose a 64 bit version.


Arne understood the comment of Roedy differently: he thinks that Roedy
meant package manager when saying "OS installer". In result, Arne
thought was thinking that Roedy was suggesting that the package manager
should install 64Bit Java if RAM > 4GB.
 
Reply With Quote
 
Arne Vajh°j
Guest
Posts: n/a
 
      07-04-2013
On 7/3/2013 10:53 AM, Jukka Lahtinen wrote:
> Arne Vajh°j <(E-Mail Removed)> writes:
>> On 7/2/2013 3:25 PM, Roedy Green wrote:

>
>>> I would think it plausible an OS installer would automatically choose
>>> 64 bit if there is 4+ MB of RAM.

>
>> That would be very stupid.
>> As a 64 bit Java would not run on a 32 bit OS with more than 4 GB of
>> memory.

>
> There wouldn't BE a 32 bit OS with more than 4 GB of memory, if the OS
> installer would automatically choose a 64 bit version.


Roedy's wording is a bit "fuzzy".

But given the topic of the thread "why a 64 bit JDK can be installed
on 32 bit OS" then I assumed that it was about installing Java not
about installing Linux.

Furthermore I believe with Ubuntu you explicit pick 32 or 64
bit version to install.

But given the post Roedy did reply to then it could be Linux
he meant.

Arne


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Why do more and more Linux distries default OpenJDK? Joshua Cranmer Java 1 03-20-2009 02:51 PM
Can't install gems after a new ubuntu install Max Williams Ruby 12 07-13-2008 07:41 PM
OpenJDK JamesW Java 9 12-13-2006 06:24 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM



Advertisments