There is no ubuntu package for a 64-bit JVM on the 32-bit linux system

Bug #245645 reported by Benson Margulies
4
Affects Status Importance Assigned to Milestone
sun-java5 (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: sun-java5-bin

In general, 64-bit linux ubuntu will run 64-bit apps.

Sadly, there is no package to install to get a 64-bit JRE/JVM on the 32-bit system.

Please?

Pretty-please?

(8.04)

Revision history for this message
Connor Imes (ckimes) wrote :

Hi, thank you for taking the time to report this. But why would you want a 64-bit app available for a 32-bit system. A 32-bit system cannot run 64-bit applications.
I will close this bug, but if I have misunderstood your request, please change the status back to New and provide more detail.
Thanks.

Changed in sun-java5:
status: New → Invalid
Revision history for this message
Benson Margulies (bimargulies) wrote : Re: [Bug 245645] Re: There is no ubuntu package for a 64-bit JVM on the 32-bit linux system

I thought I knew what was going in here, but now I confess I'm not so sure.

Consider the package 'gdb64.' I'm asking for the same treatment for java.

However, I now discover that I can't figure out how to use it. So I guess I
can't complain too loudly if you toss me back out on my ear on this subject.

I wish I knew why someone bothered to package gdb64.

On Sat, Jul 5, 2008 at 3:42 AM, Connor Imes <email address hidden> wrote:

> Hi, thank you for taking the time to report this. But why would you want a
> 64-bit app available for a 32-bit system. A 32-bit system cannot run 64-bit
> applications.
> I will close this bug, but if I have misunderstood your request, please
> change the status back to New and provide more detail.
> Thanks.
>
> ** Changed in: sun-java5 (Ubuntu)
> Status: New => Invalid
>
> --
> There is no ubuntu package for a 64-bit JVM on the 32-bit linux system
> https://bugs.launchpad.net/bugs/245645
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Connor Imes (ckimes) wrote :

Typically when you download programs from the repositories, it automatically detects your architecture so you don't have to fiddle around with it. In most packages, there is no difference in package name anyway. If you want the GNU Debugger for your i386 system, simply download the package "gdb". I don't know exactly why it has a 64 bit version separately, but I think it may be because it has dependencies on some 64 bit libraries whereas gdb does not. The 64 bit package still depends on the 32 bit package.

Revision history for this message
Benson Margulies (bimargulies) wrote :

I am using the cross-compiler environment, which is all those '64' packages
that turn on gcc -m64 and all that. When I saw gdb64 I thought I'd hit a
jackpot.

On Sat, Jul 5, 2008 at 2:20 PM, Connor Imes <email address hidden> wrote:

> Typically when you download programs from the repositories, it
> automatically detects your architecture so you don't have to fiddle
> around with it. In most packages, there is no difference in package
> name anyway. If you want the GNU Debugger for your i386 system, simply
> download the package "gdb". I don't know exactly why it has a 64 bit
> version separately, but I think it may be because it has dependencies on
> some 64 bit libraries whereas gdb does not. The 64 bit package still
> depends on the 32 bit package.
>
> --
> There is no ubuntu package for a 64-bit JVM on the 32-bit linux system
> https://bugs.launchpad.net/bugs/245645
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Connor Imes (ckimes) wrote :

GDB is a debugger, so if your linux install is i386, you don't want the 64 bit package. Does that mean you are compiling for 64 bit on your 32 bit machine? I've never done/tried this, but if you are, as long as you have the code libraries you shouldn't need anything for GDB in 64 bit since you can't actually run it. If I am misunderstanding or just wrong, please let me know.

Basically what this comes down to is you don't typically want 64 bit packages available for 32 bit installs.

Revision history for this message
Benson Margulies (bimargulies) wrote :

The mystery is why there is a 64-bit gdb in the 32-bit repo.

Go ahead and close the bug report.

Revision history for this message
Benson Margulies (bimargulies) wrote :

I've got the scoop here from the man who makes the upstream package on
debian for gdb64.

There is a valid config consisting of a 64-bit kernel and a 32-bit user
space. In such an environment, the default is 32-bit executables, but 64-bit
ones also work.

Thus, a 64-bit Java would go nicely with a 64-bit gdb for debugging jni

----

Sure you can run it on a 32-bit system. You just need a 64-bit
kernel. This is less common than it used to be - more people will
just use the entire 64-bit userspace - but it still happens.

--
Daniel Jacobowitz
CodeSourcery

On Sat, Jul 5, 2008 at 3:42 AM, Connor Imes <email address hidden> wrote:

> Hi, thank you for taking the time to report this. But why would you want a
> 64-bit app available for a 32-bit system. A 32-bit system cannot run 64-bit
> applications.
> I will close this bug, but if I have misunderstood your request, please
> change the status back to New and provide more detail.
> Thanks.
>
> ** Changed in: sun-java5 (Ubuntu)
> Status: New => Invalid
>
> --
> There is no ubuntu package for a 64-bit JVM on the 32-bit linux system
> https://bugs.launchpad.net/bugs/245645
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Connor Imes (ckimes) wrote :

OK, I see what you're getting at. One immediate problem is that I don't think the closed source Java is available in 64 bit anyway, only the open source version(s),

AFAIK, the way the package managers work is that they detect what environment you are running in and download the appropriate 32 or 64 bit package for that. There are some exceptions where certain packages are specified only for 32 or 64 bit, like w32codecs and w64codecs from Medibuntu, or gdb64.

Perhaps you are looking for the ability to specify in Synaptic/apt-get/etc which version you want to install?

I will re-open this bug until we can figure out for sure what we really want, and will seek some other opinions. Thank you for your continued input.

Changed in sun-java5:
status: Invalid → New
Revision history for this message
Benson Margulies (bimargulies) wrote :

Conor,

The sun 64-bit JVM seems available for 1.5.

http://java.sun.com/j2se/1.5.0/system-configurations.html

I didn't check 1.6.

Here's the situation as I see it. In general, the ubuntu (or generic debian)
package system only offers you packages with binaries for your current
environment. There is an exception for tools that support cross-development
between 32 and 64-bit system. In the 64-bit repo, there are a set of 32-bit
packages, and vica versa.

My request here is to add Java to this set, because it facilitates
cross-development of JNI modules. By having 32-bit java on the 64-bit system
and the other way around, it is possible to test a JNI module going both
ways from one system.

Thanks,
benson

On Sun, Jul 6, 2008 at 2:40 PM, Connor Imes <email address hidden> wrote:

> OK, I see what you're getting at. One immediate problem is that I don't
> think the closed source Java is available in 64 bit anyway, only the
> open source version(s),
>
> AFAIK, the way the package managers work is that they detect what
> environment you are running in and download the appropriate 32 or 64 bit
> package for that. There are some exceptions where certain packages are
> specified only for 32 or 64 bit, like w32codecs and w64codecs from
> Medibuntu, or gdb64.
>
> Perhaps you are looking for the ability to specify in Synaptic/apt-
> get/etc which version you want to install?
>
> I will re-open this bug until we can figure out for sure what we really
> want, and will seek some other opinions. Thank you for your continued
> input.
>
> ** Changed in: sun-java5 (Ubuntu)
> Status: Invalid => New
>
> --
> There is no ubuntu package for a 64-bit JVM on the 32-bit linux system
> https://bugs.launchpad.net/bugs/245645
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Connor Imes (ckimes) wrote :

It seems like there isn't specific support for Debian systems from that page. If you look here, you can get a .bin installer for Java 6 - http://www.java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com:80

Assuming what you're saying is true, then your request seems valid. I have discussed this with some other people, but we haven't been able to reach a conclusion about whether this is actually possible (may be using qemu). If you can provide a solid example about this being done elsewhere (like in another linux distro), that would be useful.

I will mark this as Confirmed and add it to Wishlist. A developer will have to determine if this request is actually possible to implement.
Thank you.

Changed in sun-java5:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Benson Margulies (bimargulies) wrote :

You could make contact with the Debian person I quoted in my previous email
if you need the howto. I agree that Sun is not big on .deb packages. You'd
need to concoct one if you decided to proceed.

On Sun, Jul 6, 2008 at 4:53 PM, Connor Imes <email address hidden> wrote:

> It seems like there isn't specific support for Debian systems from that
> page. If you look here, you can get a .bin installer for Java 6 -
>
> http://www.java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com:80
>
> Assuming what you're saying is true, then your request seems valid. I
> have discussed this with some other people, but we haven't been able to
> reach a conclusion about whether this is actually possible (may be using
> qemu). If you can provide a solid example about this being done
> elsewhere (like in another linux distro), that would be useful.
>
> I will mark this as Confirmed and add it to Wishlist. A developer will
> have to determine if this request is actually possible to implement.
> Thank you.
>
> ** Changed in: sun-java5 (Ubuntu)
> Importance: Undecided => Wishlist
> Status: New => Confirmed
>
> --
> There is no ubuntu package for a 64-bit JVM on the 32-bit linux system
> https://bugs.launchpad.net/bugs/245645
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Matthias Klose (doko) wrote :

I won't add a 64bit package; the packaging changes are extensive.

Changed in sun-java5:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.