generate image to a no display environment [message #68295] |
Tue, 13 October 2009 14:00 |
Petula Lau
Messages: 4 Registered: September 2009
|
Junior Member |
|
|
Hi there,
I am trying to generate an image (using write png to write to file) on
our server (linux SLES) with no display set - the IDL code is writing
to the Z buffer then saving to file.
This works in the IDL command line interface, but when I use my java
program to call the IDL wrapper for the program it complains as
follows:
09:58:33,091 INFO [STDOUT] Successfully loaded libawt.so
09:58:33,091 ERROR [STDERR] *** java.lang.UnsatisfiedLinkError: /opt/
java64/jdk1.6.0_16/jre/lib/amd64/libjawt.so: /opt/java64/jdk1.6.0_16/
jre/lib/amd64/libjawt.so: symbol awt_FreeDrawingSurface, version
SUNWprivate_1.1 not defined in file libmawt.so with link time
reference
09:58:33,091 ERROR [STDERR] Failed to load jawt from /opt/java64/
jdk1.6.0_16/jre/lib/amd64
09:58:33,098 ERROR [STDERR] *** java.lang.UnsatisfiedLinkError: /opt/
idl/idl71/bin/bin.linux.x86_64/libjavaidlb.so: /opt/java64/jdk1.6.0_16/
jre/lib/amd64/libjawt.so: symbol awt_FreeDrawingSurface, version
SUNWprivate_1.1 not defined in file libmawt.so with link time
reference
09:58:33,098 ERROR [STDERR] Failed to load javaidlb from from default
location.
Does anyone have an idea how to solve this?
My work around is to start vncserver, then set the display environment
variable to that port. Not an ideal solution because we don't want
vnc on our production machine.
Appreciate your responses.
Cheers,
Petula
|
|
|