Hello!

On Wed, Jul 13, 2005 at 12:38:24PM -0400, Kurt Miller wrote:
>[... Java plugin vs. firefox ...]

>>From DESR:
> with_ipv6
>   Build the jdk/jre with ipv6 support. When the jdk/jre is built
>   with this flavor, java will create only ipv6 sockets by default.
>   Since ipv4 to ipv6 address mapping is disabled on OpenBSD,
>   using ipv4 addresses will fail. Consequently, you may only
>   use ipv6 addresses or you can start java with
>   -Djava.net.preferIPv4Stack=true and can only use ipv4
>   addresses.

>Since you've compiled with ipv6, you can try adding
>-Djava.net.preferIPv4Stack=true to 
>file:///usr/local/jdk-1.4.2/jre/ControlPanel.html -> Advanced Tab ->
>Java Runtime Parameters

That did it, thanks. I see that I could've used
/usr/local/jdk-1.4.2/jre/bin/ControlPanel instead, too, for a standalone
version thereof.

>Also, I've had one person report that setting ulimits was not 
>enough, they had to change login.conf for their login class
>instead (IIRC).

Here it worked with ulimit -Sd 500000 before starting firefox,
using a little script like this:
$ cat bin/ff
#! /bin/sh
( /usr/local/bin/firefox </dev/null >/dev/null 2>&1 & )

Without redirecting stdin/stdout, mplayer hangs if you use it as helper
for movie stuff.

Without the ulimit (having an own default of 262144 via login.conf), it
does not work, but yield no error message either.

>-Kurt

Thanks again.

Kind regards,

Hannah.

Reply via email to