Source: openjdk-21
Version: 21.0.9+10-1
Severity: important
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: powerpc

Hi!

This only happens on powerpc, not any other arch. java (openjdk-21 or 25) is 
completely not usable on my machine:


Processing triggers for ca-certificates-java (20240118) ...
Error occurred during initialization of VM
Too small maximum heap
Unable to execute Java. Skipping Java certificates setup.


`java --version` returns the same error, but `java -Xmx2M --version` is fine.

Context: this all happens in a powerpc chroot, the host is running ppc64. 
openjdk-25 also returns the same error, but not others.

I don't have a clue what's going on, but since it crashes with the default max 
heap size, I can't run `java -XX:+PrintFlagsFinal 2>&1 | grep MaxHeapSize` to 
see how much the default is.


-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.48+deb13-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to