Re: Jmol, Java and netscape.javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/17/2011 12:22 PM, Jussi Lehtola wrote:
> Hi,
>
> I tried to update Jmol to the latest release, when I ran once again
> into
>
> error: package netscape.javascript does not exist
> import netscape.javascript.JSObject;
>

The package is not standard part of Java. It is provided by plugin.jar. 
In Fedora <= 15 plugin.jar was included with the JDK (if the 
java-1.6.0-openjdk-plugin package was installed). Now plugin.jar is 
provided by icedtea-web.

> My spec builds fine in Fedora 15, but fails to build in 16 and 17.
> http://pkgs.fedoraproject.org/gitweb/?p=jmol.git;a=blob;f=jmol.spec;hb=HEAD
>
> Does someone have a solution to this problem?

I think one possible fix would be to BuildRequire icedtea-web and 
include /usr/share/icedtea-web/plugin.jar in the classpath.

HTH,
Omair
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux