Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24578 > unrolled thread
| Started by | mcheung63@gmail.com |
|---|---|
| First post | 2013-07-02 05:16 -0700 |
| Last post | 2013-07-05 10:54 +0200 |
| Articles | 16 — 9 participants |
Back to article view | Back to comp.lang.java.programmer
why 32 bit ubuntu can install 64 bit openjdk? mcheung63@gmail.com - 2013-07-02 05:16 -0700
Re: why 32 bit ubuntu can install 64 bit openjdk? Sven Köhler <remove-sven.koehler@gmail.com> - 2013-07-02 15:49 +0300
Re: why 32 bit ubuntu can install 64 bit openjdk? Silvio <silvio@internet.com> - 2013-07-02 14:54 +0200
Re: why 32 bit ubuntu can install 64 bit openjdk? lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-07-02 14:07 +0100
Re: why 32 bit ubuntu can install 64 bit openjdk? Silvio <silvio@internet.com> - 2013-07-02 16:14 +0200
Re: why 32 bit ubuntu can install 64 bit openjdk? Roedy Green <see_website@mindprod.com.invalid> - 2013-07-02 12:25 -0700
Re: why 32 bit ubuntu can install 64 bit openjdk? Sven Köhler <remove-sven.koehler@gmail.com> - 2013-07-02 22:30 +0300
Re: why 32 bit ubuntu can install 64 bit openjdk? Arne Vajhøj <arne@vajhoej.dk> - 2013-07-02 21:44 -0400
Re: why 32 bit ubuntu can install 64 bit openjdk? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-07-03 17:53 +0300
Re: why 32 bit ubuntu can install 64 bit openjdk? Sven Köhler <remove-sven.koehler@gmail.com> - 2013-07-03 19:01 +0300
Re: why 32 bit ubuntu can install 64 bit openjdk? Arne Vajhøj <arne@vajhoej.dk> - 2013-07-03 22:31 -0400
Re: why 32 bit ubuntu can install 64 bit openjdk? Martin Gregorie <martin@address-in-sig.invalid> - 2013-07-04 20:47 +0000
Re: why 32 bit ubuntu can install 64 bit openjdk? Joerg Meier <joergmmeier@arcor.de> - 2013-07-04 23:08 +0200
Re: why 32 bit ubuntu can install 64 bit openjdk? Martin Gregorie <martin@address-in-sig.invalid> - 2013-07-04 21:42 +0000
Re: why 32 bit ubuntu can install 64 bit openjdk? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-07-05 08:58 +0300
Re: why 32 bit ubuntu can install 64 bit openjdk? Joerg Meier <joergmmeier@arcor.de> - 2013-07-05 10:54 +0200
| From | mcheung63@gmail.com |
|---|---|
| Date | 2013-07-02 05:16 -0700 |
| Subject | why 32 bit ubuntu can install 64 bit openjdk? |
| Message-ID | <79f46583-8c65-45ea-844f-d0c5194793e0@googlegroups.com> |
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 (cmk128@hotmail.com)
[toc] | [next] | [standalone]
| From | Sven Köhler <remove-sven.koehler@gmail.com> |
|---|---|
| Date | 2013-07-02 15:49 +0300 |
| Message-ID | <b3g0j4F6bdhU1@mid.dfncis.de> |
| In reply to | #24578 |
On 02/07/13 15:16, mcheung63@gmail.com 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
[toc] | [prev] | [next] | [standalone]
| From | Silvio <silvio@internet.com> |
|---|---|
| Date | 2013-07-02 14:54 +0200 |
| Message-ID | <51d2cd95$0$15893$e4fe514c@news.xs4all.nl> |
| In reply to | #24578 |
On 07/02/2013 02:16 PM, mcheung63@gmail.com 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 (cmk128@hotmail.com) > Ubuntu is a Java application. Once you installed 64 bit Java your Ubuntu system became 64 bit as well...
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
|---|---|
| Date | 2013-07-02 14:07 +0100 |
| Message-ID | <yJOdnZMSusMfTU_MnZ2dnUVZ8v6dnZ2d@bt.com> |
| In reply to | #24581 |
On 02/07/13 13:54, Silvio wrote: > On 07/02/2013 02:16 PM, mcheung63@gmail.com 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 (cmk128@hotmail.com) >> > > 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 -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
[toc] | [prev] | [next] | [standalone]
| From | Silvio <silvio@internet.com> |
|---|---|
| Date | 2013-07-02 16:14 +0200 |
| Message-ID | <51d2e049$0$15968$e4fe514c@news.xs4all.nl> |
| In reply to | #24582 |
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, mcheung63@gmail.com 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 (cmk128@hotmail.com) >>> >> >> 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.
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-07-02 12:25 -0700 |
| Message-ID | <e5a6t898g6qabosdqvr7p8nvmtu0gc2lju@4ax.com> |
| In reply to | #24583 |
On Tue, 02 Jul 2013 16:14:33 +0200, Silvio <silvio@internet.com> 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
[toc] | [prev] | [next] | [standalone]
| From | Sven Köhler <remove-sven.koehler@gmail.com> |
|---|---|
| Date | 2013-07-02 22:30 +0300 |
| Message-ID | <b3go3bFbg7hU1@mid.dfncis.de> |
| In reply to | #24596 |
On 02/07/13 22:25, Roedy Green wrote: > On Tue, 02 Jul 2013 16:14:33 +0200, Silvio <silvio@internet.com> > 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
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-07-02 21:44 -0400 |
| Message-ID | <51d381ee$0$303$14726298@news.sunsite.dk> |
| In reply to | #24596 |
On 7/2/2013 3:25 PM, Roedy Green wrote: > On Tue, 02 Jul 2013 16:14:33 +0200, Silvio <silvio@internet.com> > 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
[toc] | [prev] | [next] | [standalone]
| From | Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> |
|---|---|
| Date | 2013-07-03 17:53 +0300 |
| Message-ID | <lvzju33da9.fsf@saunalahti.fi> |
| In reply to | #24603 |
Arne Vajhøj <arne@vajhoej.dk> 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
[toc] | [prev] | [next] | [standalone]
| From | Sven Köhler <remove-sven.koehler@gmail.com> |
|---|---|
| Date | 2013-07-03 19:01 +0300 |
| Message-ID | <b3j07oFq7beU1@mid.dfncis.de> |
| In reply to | #24613 |
On 03/07/13 17:53, Jukka Lahtinen wrote: > Arne Vajhøj <arne@vajhoej.dk> 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.
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-07-03 22:31 -0400 |
| Message-ID | <51d4de9a$0$290$14726298@news.sunsite.dk> |
| In reply to | #24613 |
On 7/3/2013 10:53 AM, Jukka Lahtinen wrote: > Arne Vajhøj <arne@vajhoej.dk> 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
[toc] | [prev] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2013-07-04 20:47 +0000 |
| Message-ID | <kr4n1q$j9p$2@dont-email.me> |
| In reply to | #24613 |
On Wed, 03 Jul 2013 17:53:50 +0300, Jukka Lahtinen wrote: > 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. > Of course there could. If you want that, you just run a Linux PAE kernel on 64 bit hardware. Each process runs in 32 bit task space with the kernel looking after the higher order buts in the address registers. If you have 32 bit code that you need to run, this will do it. And, if you have no need to run freshly compiled processes with multi gigabyte memory requirements, they'll run too and be a bit smaller thanks to their shorter addresses. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-07-04 23:08 +0200 |
| Message-ID | <1opyh27xirht1.1f467129dpuzs$.dlg@40tude.net> |
| In reply to | #24629 |
On Thu, 4 Jul 2013 20:47:54 +0000 (UTC), Martin Gregorie wrote: > On Wed, 03 Jul 2013 17:53:50 +0300, Jukka Lahtinen wrote: >> 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. > Of course there could. If you want that, you just run a Linux PAE kernel > on 64 bit hardware. How would you run a PAE kernel if a 64 bit kernel was automatically installed ? While what you said is true, you don't seem to have read what you responded to. Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2013-07-04 21:42 +0000 |
| Message-ID | <kr4q92$b3h$2@dont-email.me> |
| In reply to | #24632 |
On Thu, 04 Jul 2013 23:08:01 +0200, Joerg Meier wrote: > On Thu, 4 Jul 2013 20:47:54 +0000 (UTC), Martin Gregorie wrote: > >> On Wed, 03 Jul 2013 17:53:50 +0300, Jukka Lahtinen wrote: >>> 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. >> Of course there could. If you want that, you just run a Linux PAE >> kernel on 64 bit hardware. > > How would you run a PAE kernel if a 64 bit kernel was automatically > installed ? While what you said is true, you don't seem to have read > what you responded to. > Huh? IIRC it is the JRE that's being automatically installed, not the kernel. If the installer is any good, it should recognise that its dealing with a PAE kernel and install a 32 bit JRE. However, as the OP is actually using a 64bit kernel, not surprisingly, he got a 64 bit JRE installed. In any case, I was deliberately OTT because I was explaining to Sven that its perfectly possible to run a 32 bit OS on 64bit iron and not entirely stupid to do it either. Cheers, Martin -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> |
|---|---|
| Date | 2013-07-05 08:58 +0300 |
| Message-ID | <lvli5l1rae.fsf@saunalahti.fi> |
| In reply to | #24637 |
Martin Gregorie <martin@address-in-sig.invalid> writes: > On Thu, 04 Jul 2013 23:08:01 +0200, Joerg Meier wrote: >> On Thu, 4 Jul 2013 20:47:54 +0000 (UTC), Martin Gregorie wrote: >>> On Wed, 03 Jul 2013 17:53:50 +0300, Jukka Lahtinen wrote: >>>> 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. >>> Of course there could. If you want that, you just run a Linux PAE >>> kernel on 64 bit hardware. >> >> How would you run a PAE kernel if a 64 bit kernel was automatically >> installed ? While what you said is true, you don't seem to have read >> what you responded to. >> > Huh? IIRC it is the JRE that's being automatically installed, not the > kernel. If the installer is any good, it should recognise that its The OS installer installs the OS, and if it has chosen a 64-bit version, there will be no PAE kernel installed. OTOH, you often choose the OS version (including bitness) by choosing a specific installation media, and that is done before starting the installer. -- Jukka Lahtinen
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-07-05 10:54 +0200 |
| Message-ID | <1dut82hjwvc4o$.4v68ai2n37gz.dlg@40tude.net> |
| In reply to | #24637 |
On Thu, 4 Jul 2013 21:42:58 +0000 (UTC), Martin Gregorie wrote: > On Thu, 04 Jul 2013 23:08:01 +0200, Joerg Meier wrote: >> On Thu, 4 Jul 2013 20:47:54 +0000 (UTC), Martin Gregorie wrote: >>> On Wed, 03 Jul 2013 17:53:50 +0300, Jukka Lahtinen wrote: >>>> 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. >>> Of course there could. If you want that, you just run a Linux PAE >>> kernel on 64 bit hardware. >> How would you run a PAE kernel if a 64 bit kernel was automatically >> installed ? While what you said is true, you don't seem to have read >> what you responded to. > Huh? IIRC it is the JRE that's being automatically installed, not the > kernel. If the installer is any good, it should recognise that its > dealing with a PAE kernel and install a 32 bit JRE. However, as the OP is > actually using a 64bit kernel, not surprisingly, he got a 64 bit JRE > installed. If you read what Jukka said, it's clear that he is talking about the thing that installs the OS, because otherwise his sentences doesn't even make internal logical sense - if he was talking about an application installer, how would that have any effect on what OS would be installed ? > In any case, I was deliberately OTT because I was explaining to Sven that > its perfectly possible to run a 32 bit OS on 64bit iron and not entirely > stupid to do it either. Which is why I added "While what you said is true". Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web