This is under Solaris (SunOS szego6.Stanford.EDU 5.6
Generic_105181-22 sun4u sparc SUNW,Ultra-5_10).
After a clean build from the current CVS repository, I
selected the
Preferences menu option and the program crashed. This
is under Solaris. Here is the output from make run:
<PRE>
szego6:~/cvs/jnap% make run
/usr/pubsw/bin/java -classpath classes
-Djava.compiler=NONE net.perham.jnap.Main -debug
GUI: action event: Search
GUI: action event: Preferences
ld.so.1:
/usr/pubsw/apps/jdk-1.2.2/jre/bin/sparc/native_threads/java:
fatal: relocation error: file
/usr/openwin/lib/locale/iso8859-1/xomEuro.so.2: symbol
_XlcCompileResourceList: referenced symbol not found
make: *** [run] Killed
</PRE>
Java version is:
szego6:~/cvs/jnap% java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_05, native threads,
sunwjit)
--> Edit/Preferences crashes program
Logged In: YES
user_id=49762
I just found a workwround! It seems like this is a known bug
in either SunOS or Java. The workaround is to set the locale
environment variables to "C", rather than to "en_US", which
is the value that they had when I experienced the problem.
Specifically: setting the LC_CTYPE to "C" did the trick.
So it might be a good idea to change jnap.sh to do that
before running the java class, at least under Solaris.
I don't know how stable this workaround is.