← Back to team overview

ubuntu-java team mailing list archive

Re: [Bug 186245] Re: icedtea-java7-plugin strangeness with anis.class

 

matti:

Sorry to be so slow in responding.  I may be over my head on this thing.

I have installed Hardy Heron and I have installed icedtea-gcjwebplugin
(1.0-0ubuntu5).  I removed gcjwebplugin-4.2.  I run 
update-java-alternatives --plugin --set java-6-openjdk
(as root) and it responds 
No alternatives for firefox-3.0-javaplugin.so.
No alternatives for firefox-javaplugin.so.
No alternatives for iceape-javaplugin.so.
No alternatives for iceweasel-javaplugin.so.
No alternatives for midbrowser-javaplugin.so.
No alternatives for mozilla-javaplugin.so.
No alternatives for xulrunner-javaplugin.so.
No alternatives for firefox-javaplugin.so.
No alternatives for iceape-javaplugin.so.
No alternatives for iceweasel-javaplugin.so.
No alternatives for midbrowser-javaplugin.so.
No alternatives for mozilla-javaplugin.so.
No alternatives for xulrunner-javaplugin.so.

The applet from http://www.goes.noaa.gov/GSSLOOPS/wcir.html still does
not execute properly (no animation as the files do not load as I
described before).

jim...

On Fri, 2008-04-18 at 10:17 +0000, Matti Lindell wrote:
> Make sure you have the latest icedtea-gcjwebplugin (1.0-0ubuntu5)
> installed.  openjdk-6-jre-headless (which is installed as a dependency
> for icedtea-gcjwebplugin) conflicts the old gcjwebplugin and this
> package should be automatically removed. If you still have any versions
> of gcjwebplugin installed, remove those manually.
> 
> Make sure your browser is not running and then execute the following command using terminal:
> sudo update-java-alternatives --plugin --set java-6-openjdk
> 
> This sets the icedtea-gcjwebplugin as a default java plugin. Verify that
> it's the only java plugin displayed in firefox's about:plugins page.
> 
> For me the applet in http://www.goes.noaa.gov/GSSLOOPS/wcir.html looked
> the same with icedtea-gcjwebplugin and sun-java6-plugin.
> 
> -- 
> icedtea-java7-plugin strangeness with anis.class
> https://bugs.launchpad.net/bugs/186245
> You received this bug notification because you are a direct subscriber
> of the bug.
> 
> Status in Source Package "icedtea-java7" in Ubuntu: Incomplete
> 
> Bug description:
> I am running Ubuntu Gutsy 2.6.22-14-generic on an AMD64 machine 4 processors
> Linux version 2.6.22-14-generic (buildd@king) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18 05:28:27 UTC 2007
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 15
> model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
> stepping        : 11
> cpu MHz         : 1596.000
> cache size      : 4096 KB
> physical id     : 0
> siblings        : 4
> core id         : 0
> cpu cores       : 4
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 10
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
> bogomips        : 4803.24
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
> 
> Here is the output from 'java -version'
> jim@charlton7:/var/log$ java -version
> java version "1.7.0"
> IcedTea Runtime Environment (build 1.7.0-b22)
> IcedTea 64-Bit Server VM (build 1.7.0-b22, mixed mode)
> 
> I am running Mozilla/Firefox Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
> 
> When I go to http://www.goes.noaa.gov/GSSLOOPS/wcir.html only the first image displays, even though the java applet seems to be running OK.
> Here is the relevant section of the source code
> ******
> <APPLET codebase="http://www.goes.noaa.gov/applet"; archive="aniscode.jar" code="AniS.class" WIDTH=700 HEIGHT=580>
> 
> <PARAM NAME="controls" VALUE="startstop, looprock, step, speed, toggle, zoom, firstlast, refresh">
> <PARAM NAME="auto_refresh" VALUE="30">
> <PARAM NAME="rate" VALUE="80">
> <PARAM NAME="pause_percent" VALUE="800">
> <PARAM name="no_enh" value="true">
> <PARAM name="use_IP" value="true">
> <PARAM NAME="filenames" VALUE="http://www.goes.noaa.gov/GSSLOOPS/wcir/1.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/2.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/3.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/4.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/5.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/6.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/7.jpg,
>                                http://www.goes.noaa.gov/GSSLOOPS/wcir/8.jpg";>
> *****
> If I save the whole source page as an html file and change the above code segment to
> *****
> <APPLET codebase="http://www.goes.noaa.gov/applet"; archive="aniscode.jar" code="AniS.class" WIDTH=700 HEIGHT=580>
> <PARAM NAME="controls" VALUE="startstop, looprock, step, speed, toggle, zoom, firstlast, refresh">
> <PARAM NAME="auto_refresh" VALUE="30">
> <PARAM NAME="rate" VALUE="80">
> <PARAM NAME="pause_percent" VALUE="800">
> <PARAM name="no_enh" value="true">
> <PARAM name="use_IP" value="true">
> <PARAM name="image_base" value="http://www.goes.noaa.gov/GSSLOOPS/wcir/";>
> <PARAM NAME="filenames" VALUE="1.jpg,2.jpg,3.jpg,4.jpg,5.jpg,6.jpg7.jpg,8.jpg">
> ******
> Then loading this file from Firefox now works exactly perfectly...  just like my Windows XP machine using Sun Java, works on  the original http://www.goes.noaa.gov/GSSLOOPS/wcir.html (using the upper code example).
> 
> The AniS code is described on http://www.ssec.wisc.edu/anis/.
> 
> Since the AniS code appears in many web pages, it is a bit annoying to have it often not work on my Linux box using Firefox and IcedTea.
> 
> Anyone have a clue as to why IcedTea Java won't execute the first given code properly.  I am really not a Java expert myself.

-- 
icedtea-java7-plugin strangeness with anis.class
https://bugs.launchpad.net/bugs/186245
You received this bug notification because you are a member of Java
Packaging, which is subscribed to icedtea-java7 in ubuntu.



References