Re: Java plugin doesn't work (current)
Hi Hannah, Hannah Schroeter wrote: ... Where do you get the -p7 from? The -current port still has PKGNAME=jdk-${V}p2 oops, sorry. I just typed 'java -version' on the command line and confused it with the actual package name. regards, Andreas
Re: Java plugin doesn't work (current)
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 50 before starting firefox, using a little script like this: $ cat bin/ff #! /bin/sh ( /usr/local/bin/firefox /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.
Re: Java plugin doesn't work (current)
Hello! On Wed, Jul 13, 2005 at 06:00:45PM +0200, Andreas Bartelt wrote: >[...] >this map applet works on my PC (OBSD current, firefox 1.0.4, jdk >1.4.2-p7 without ipv6). Perhaps you should try 1.4.2-p7 instead of >1.4.2-p2. I have no clue whether this could be related to ipv6. Where do you get the -p7 from? The -current port still has PKGNAME=jdk-${V}p2 In the end, it was the ipv6 issue mentioned in the other reply. I was already aware of the memory hungriness of jdk, so I tried raised limits before the original mail. Still thanks for all replies! >regards, >Andreas Kind regards, Hannah.
Re: Java plugin doesn't work (current)
From: "Hannah Schroeter" <[EMAIL PROTECTED]> Hello! In current (updated on Monday), I installed jdk-1.4.2p2-with_ipv6 from ports, and after installation it suggests putting a link for a Mozilla/Firefox Java plugin to an appropriate place. Yet, it doesn't work (tried the interactive map stuff from www.map24.de, with mozilla-firefox-1.0.4). Nothing too important for me, just that the suggestion is worded as if it would work. Would I have better chances with the 1.5 JDK? 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 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). -Kurt
Re: Java plugin doesn't work (current)
On Wed, Jul 13, 2005 at 05:32:40PM +0200, Hannah Schroeter wrote: > Hello! > > In current (updated on Monday), I installed jdk-1.4.2p2-with_ipv6 from > ports, and after installation it suggests putting a link for a > Mozilla/Firefox Java plugin to an appropriate place. > > Yet, it doesn't work (tried the interactive map stuff from www.map24.de, > with mozilla-firefox-1.0.4). Nothing too important for me, just that > the suggestion is worded as if it would work. Would I have better > chances with the 1.5 JDK? What are your ulimits set to ? IIRC you have to crank your ulimits before the java plugin will work properly with even the simple applet examples included wuith the jdk. -- Mathieu Sauve-Frankel
Re: Java plugin doesn't work (current)
Hi Hannah, Hannah Schroeter wrote: Hello! In current (updated on Monday), I installed jdk-1.4.2p2-with_ipv6 from ports, and after installation it suggests putting a link for a Mozilla/Firefox Java plugin to an appropriate place. Yet, it doesn't work (tried the interactive map stuff from www.map24.de, with mozilla-firefox-1.0.4). Nothing too important for me, just that the suggestion is worded as if it would work. Would I have better chances with the 1.5 JDK? this map applet works on my PC (OBSD current, firefox 1.0.4, jdk 1.4.2-p7 without ipv6). Perhaps you should try 1.4.2-p7 instead of 1.4.2-p2. I have no clue whether this could be related to ipv6. regards, Andreas
Java plugin doesn't work (current)
Hello! In current (updated on Monday), I installed jdk-1.4.2p2-with_ipv6 from ports, and after installation it suggests putting a link for a Mozilla/Firefox Java plugin to an appropriate place. Yet, it doesn't work (tried the interactive map stuff from www.map24.de, with mozilla-firefox-1.0.4). Nothing too important for me, just that the suggestion is worded as if it would work. Would I have better chances with the 1.5 JDK? Kind regards, Hannah.