On Thu, 30 Oct 2003, Peter W. Draper wrote:
> Maybe (I could have built using 7.x, rather than 9.x), but I'm not
> convinced you've got far enough for the shareable libraries to be an issue
> yet. Could you find out the versions of Java and webstart you're using?
> Meanwhile I'll look for a 7.3 machine I can run X on...
Right, well this is fun.
If webstart is configured to display the console
(javaws File|Preferences|Advanced panel) then the console displays:
Java Web Start 1.2 Console, started Thu Oct 30 09:02:45 GMT 2003
Java 2 Runtime Environment: Version 1.4.1_02 by Sun Microsystems Inc.
Loaded JNIAST
java.lang.UnsatisfiedLinkError: no splat in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at uk.ac.starlink.splat.iface.SplatBrowserMain.main(SplatBrowserMain.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:768)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:730)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:615)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:342)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:167)
at com.sun.javaws.Launcher.run(Launcher.java:135)
at java.lang.Thread.run(Thread.java:536)
Failed to load the SPLAT JNI library
No NDF support available
Remote control established
jar:file:/home/mbt/.javaws/cache/http/Dstar-www.dur.ac.uk/P80/DM~pdraper/DMsplat
/DMstarjava/DMsplat/RMsplat.jar!/uk/ac/starlink/splat/util/deploy.wsdd
<Admin>Done processing</Admin>
port = 8081
.. and then Splat works! Attempting to load an NDF gives the further
messages:
Loaded JNIAST
java.lang.UnsatisfiedLinkError: no splat in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at uk.ac.starlink.splat.imagedata.NDFJ.<clinit>(NDFJ.java:92)
at uk.ac.starlink.splat.data.SpecDataFactory.makeNDFSpecDataImpl(SpecDataFactory.java:244)
at uk.ac.starlink.splat.data.SpecDataFactory.get(SpecDataFactory.java:194)
at uk.ac.starlink.splat.data.SpecDataFactory.get(SpecDataFactory.java:133)
at uk.ac.starlink.splat.iface.SplatBrowser.addSpectrum(SplatBrowser.java:1219)
at uk.ac.starlink.splat.iface.SplatBrowser.addChosenSpectra(SplatBrowser.java:1181)
at uk.ac.starlink.splat.iface.SplatBrowser$7.run(SplatBrowser.java:1090)
30-Oct-2003 09:17:57 uk.ac.starlink.splat.imagedata.NDFJ <clinit>
WARNING: Failed to load the SPLAT JNI library
30-Oct-2003 09:17:57 uk.ac.starlink.splat.imagedata.NDFJ <clinit>
WARNING: No NDF support available
NDF = file:/mbt/starjava/java/source/treeview/src/etc/demo/ndf/spectrum.sdf
Request for HdxFactory instance
fact = uk.ac.starlink.hdx.HdxFactory@b2c64
HDSReference.getURL(): file:/mbt/starjava/java/source/treeview/src/etc/demo/ndf/spectrum.sdf
HDSReference.getURL(): file:/mbt/starjava/java/source/treeview/src/etc/demo/ndf/spectrum.sdf#DATA_ARRAY
.. and proceeds merrily to display the NDF.
If you turn the console display off - then it fails as before
(doesn't get past the splash screen).
I believe I am using:
java 1.4.1_02
javaws-1_2_0_02-linux-i586-i.zip
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] 0117 928 8776 http://www.star.bris.ac.uk/~mbt/
|