[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 64 bit java?



Hi Adam!

On 03/28/2017 11:25 PM, Adam Stouffer wrote:
> Simon, I'm running ppc64 and the java binary is 32 bit.
> 
> tesla@enid:~$ uname -a
> Linux enid 3.16.0-4-powerpc64 #1 SMP Debian 3.16.39-1+deb8u2
> (2017-03-07) ppc64 GNU/Linux

That's the architecture of your kernel. If your machine is capable of running
64-bit code, debian-installer will install a 64-bit kernel. Your userland, i.e.
all applications, are still 32-bit.

See the output of:

	$ dpkg --print-architecture

> Is there a 64 bit build?

You need to add ppc64 as a Multi-Arch architecture by adding the following
line to your sources.list:

deb [arch=ppc64] http://ftp.ports.debian.org/debian-ports/ unstable main
deb [arch=ppc64] http://incoming.ports.debian.org/buildd/ unstable main
deb [arch=ppc64] http://ftp.ports.debian.org/debian-ports/ unreleased main

All other deb lines (not deb-src lines) need to have [arch=powerpc] added.

Then install the debian-ports-archive-keyring package and run:

	# dpkg --add-architecture ppc64

Then:

	# apt update
	# apt install openjdk-8-jre:ppc64 openjdk-8-jdk:ppc64

You could also install Debian for ppc64 natively. But my ppc64 patch
for debian-installaer has not been merged yet, unfortunately [1]. So
we cannot build d-i for ppc64 at the moment, unfortunately.

Adrian

> [1] https://lists.debian.org/debian-boot/2017/03/msg00242.html

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: