On Thu, 17 Jun 2004, Alasdair Allan wrote:
> > OK, the STARJAVA release Web Start should now work for all the applications.
>
> FROG starts, but I get a
>
> java.lang.NoClassDefFoundError: bsh/Interpreter
> at uk.ac.starlink.frog.util.RemoteServer.initInterpreter(RemoteServer.java:125)
> at uk.ac.starlink.frog.util.RemoteServer.<init>(RemoteServer.java:108)
> at uk.ac.starlink.frog.Frog.initRemoteServices(Frog.java:1534)
> at uk.ac.starlink.frog.Frog$26.run(Frog.java:1561)
>
> error in the console.
Al,
looks like you've got a dependency on SPLAT, which is normally OK as FROG
depends on TOPCAT, which in turn depends on Treeview, which depends on
SPLAT...
From a webstart point of view this is problematic, as you cannot depend on
SPLAT the application (webstart doesn't like having two application JNLP
files, after all which one would it start), just SPLAT the library (aka
SPLAT-PARTS). If you really need to be able to accept Beanshell scripts
from remote services then get a copy of bsh-1.2b7.jar from SPLAT and make
FROG depend on it directly, otherwise kill this bit of code to remove the
dependency. In the longer term we probably need a BeanShell package (or
maybe a script package offering various flavours, such as Jython too).
Peter.
|