This is an example of Java-EAI in VRwave, done by invoking VRwave as an applet.
You can run it with netscape or appletviewer after entering the appropriate windowTitle param in the VRwave APPLET tag. If it does not work for you, see the section below how your problem may be solved.
Check your CLASSPATH
. It must contain the full path
and name of the zip file of the VRwave class package. However
you do not need the files VRwavePlugin.class and VRwaveReader.class of
the plug-in version. VRwave versions prior to 0.9 did not support
Java-EAI.
Make sure to have VRwave's classes loaded before any other browser's Java-EAI classes. The Java-EAI classes have a standardized interface, but the implementations for various Browsers (of course) differ, thus cannot be exchanged at runtime. You neither need to add netscape's or JDK classes (whatever VM you use, it implicitly includes its own classes).
Two possible reasons: the applet version of VRwave needs the window
title to appropriately place the scene window, thus the applet
parameter windowTitle
argument must match the title line
of the browser window.
And, as always, the native code compiled into
libgejc.so (do not mix it up with npvrwave.so), has to be found via
environment variable LD_LIBRARY_PATH
(or your system's
equivalent, e.g. SHLIB_PATH under HPUX).
created: Michael Pichler, Aug 12, 1997.
latest change: Michael Pichler, Sep 18, 1997.