IcedTea6 Mozilla plugin with OpenJDK6

Achilleas Mantzios achill at matrix.gatewaynet.com
Fri Sep 10 13:19:29 UTC 2010


i have mixed results on 8.1-RELEASE amd64.
out the two ancient applets (pre-2005) still in production, i can sucessfully run the one of them.  
I can also run the applet in http://www.java.com/en/download/help/testvm.xml

i dont know if it is some kind of hope but the failing applet also seems
to fail on ubuntu (which in turn runs on top of virtualbox in the same FreeBSD box).

Στις Friday 10 September 2010 14:56:18 ο/η Ivan Voras έγραψε:
> On 09/10/10 00:04, Jung-uk Kim wrote:
> > On Thursday 09 September 2010 05:42 pm, Jung-uk Kim wrote:
> >> Finally, we have the hybrid and you can see some (updated)
> >> screenshots from here:
> >>
> >> http://people.freebsd.org/~jkim/icedtea/screenshots/
> >>
> >> The experimental ports tarball is available from here:
> >>
> >> http://people.freebsd.org/~jkim/icedtea/openjdk6-icedteanp.tar.bz2
> >>
> >> Note the plugin is turned off by default because it is an
> >> experimental and unofficial software from icedtea.classpath.org.
> >> To enable it, run "make config" and select "WEB" option.  Re-build,
> >> re-install, and enjoy!
> >
> > And, don't forget "ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so
> > ~/.mozilla/plugins/".  Just making sure. :-)
> 
> Hmmm, it doesn't work for me.
> 
> The port builds and installs, and it's even recognized (apparently 
> correctly) in about:plugins, but attempts to view the page at 
> http://www.java.com/en/download/help/testvm.xml result in the java and 
> the browser hanging, eating CPU cycles as if looping:
> 
>    PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU 
> COMMAND
> 49282 ivoras       25  76    0  1018M   103M ucond   3   0:02 249.37% java
> 49275 ivoras       18  61    0   314M   180M piperd  1   0:26 184.13% 
> firefox-bin
> 
> This is 8-STABLE, amd64, Firefox 3.6.3
> 
> about:plugins says:
> 
> IcedTea NPR Web Browser Plugin (using OpenJDK6 b20)
> 
>      File: IcedTeaPlugin.so
>      Version:
>      The IcedTea NPR Web Browser Plugin (using OpenJDK6 b20) executes 
> Java applets.
> 
> followed by a table of MIME types for applets handled by Java.
> 
> Console output of Firefox contains this trace:
> 
> openjdk version "1.6.0"
> OpenJDK Runtime Environment (build 1.6.0-b20)
> OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode)
> net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could 
> not initialize applet.
> 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:604)
> 	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)
> 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)
> Caused by: java.lang.NullPointerException
> 	at 
> net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)
> 	at 
> net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)
> 	at 
> net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)
> 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)
> 	... 2 more
> Caused by:
> java.lang.NullPointerException
> 	at 
> net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)
> 	at 
> net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)
> 	at 
> net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)
> 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)
> 	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)
> 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)
> java.lang.NullPointerException
> 	at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:99)
> 	at sun.applet.AppletPanel.run(AppletPanel.java:380)
> 	at java.lang.Thread.run(Thread.java:636)
> java.lang.NullPointerException
> 	at sun.applet.AppletPanel.run(AppletPanel.java:430)
> 	at java.lang.Thread.run(Thread.java:636)
> 
> 
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> 



-- 
Achilleas Mantzios


More information about the freebsd-java mailing list