On Sun, 18 Oct 1998 17:56:17 +1000, jim watson wrote:
>
>
>
>
>(Jon Peterson) wrote:
>
>> /usr/local/java/bin/i586/green_threads/java_ns: can't resolve symbol
>> 'XFreeColors'
>
>Jon,
>
>It appears to be running java_ns...?
>
>I dont have v2 but the README.linux for v5 states:
>
>"You will not be able to run any AWT based applications with the nonstatically
>linked java interpreter, so only set NS_JAVA for non-GUI based applications.
>[For the curious: in the bin/i586/green_threads/ directory, the executables
>(java for the static version, and java_ns for the non-static version) are kept.
>"
>
>I got the same error message by setting NS_JAVA=true in a otherwise good
>setup...
Yup, that is what would happen. If you want to use the dynamically
linked Java with AWT you need to set DYN_JAVA=true. This version will
need to have Motif shared libraries on your system. Normally you would
not set either DYN_JAVA or NS_JAVA if you want to run AWT and do not own
a copy of Motif.
NS_JAVA is mainly there so that you can run non-GUI Java applications without
X-Windows installed. Such as server-side applications/servlets. This
reduces the size of the memory used and does not require that X be installed
on the system.
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz