[Debian-uk] Crashes during apt-get install ca-certificates-java: IPv6 involvement?

Dan vi5u0-debianuk at yahoo.co.uk
Sun Feb 5 17:07:18 GMT 2012


On Sat, 4 Feb 2012, Simon Waters wrote:

> You normally set these on the java invocation "java -D"... so I think to
> do it without hacking the package perhaps try turning "java" itself into
> a wrapper that adds the argument to disable, and runs the original java
> with "-Djava...=true".

Thanks Simon.  Sadly, that didn't do the trick.  I did:

mv /usr/lib/jvm/java-6-openjdk/jre/bin/java /usr/lib/jvm/java-6-openjdk/jre/bin/java-raw

then put the following script at
/usr/lib/jvm/java-6-openjdk/jre/bin/java:

#!/usr/bin/perl

system("/usr/lib/jvm/java-6-openjdk/jre/bin/java-raw -Djava.net.preferIPv4Stack=true " . @ARGV) ;

... but still have the same reboot problem when I try to apt-get
install ca-certificates-java.

-- 

Kind regards,

Dan



More information about the Debian-uk mailing list