By: amit das - amitdas91
X11 issue?
2002-05-15 15:00
I am using 0.3.0 on hp unix:
I get the following error sporadically when doing a run:
ant run
Buildfile: build.xml
run:
Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet /usr/lib/dld.sl: Unresolved symbol: dlopen (code) from /opt/java1.4/jre/lib/PA_RISC2.0/motif21/libmawt.sl Java Result: 6 BUILD SUCCESSFUL
Thanks!
Amit
By: amit das - amitdas91
RE: X11 issue?
2002-05-15 15:01
Also this is the JasperApp demo that I am trying to run....
By: Dave Cook - butsafire
RE: X11 issue?
2002-05-19 11:00
Hi:
Did you get any other errors? Did you need to run Xvfb etc? I get errors as well trying to run under Linux Redhat 7.1.
Check out thread: http://sourceforge.net/forum/forum.php?thread_id=661754&forum_id=113529
*nix seems to have issues with jasper.
regards,
Dave Cook
By: Dave Cook - butsafire
RE: X11 complete?
2002-05-29 10:30
Thanks for the reply.
Does this mean you have Jasper successfully running under J2SDK1.4?
By: amit das - amitdas91
RE: X11 issue ?
2002-06-05 15:30
Yes it works without X11 running using j2sdk1.4.
No problems!
By: amit das - amitdas91
RE: X11 issue - solved
2002-05-20 07:18
I just found out that Java1.4 supports headless envirnoments. This means no need for x11!!
Use the -Djava.awt.headless=true
Thank my lucky Sun.
By: Vincent Chu - centrix
RE: X11 issue - solved
2002-07-11 19:35
amitdas91
Would you mind to teach me how to use the -Djava.awt.headless=true ?? just put this sentence in the .xml file is ok??
thanks!!
By: Teodor Danciu - teodord
RE: X11 issue - solved
2002-07-23 02:20
Hi,
-D is a switch that allows you to supply a value
for a system property when you launch the JVM.
Add the specified -Djava.awt.headless=true to your
command line when you launch java.exe.
If you are using ANT, then you should add this
to the desired target in the build.xml file:
Look in the samples to see how this is done for
the "org.xml.sax.driver" system property, or check
the ANT documentation.
Good luck!
Teodor
By: Vincent Chu - centrix
RE: X11 issue - solved
2002-07-11 23:43
reply to myself
I just know how to set the headless in jsp
System.setProperty("java.awt.headless", "ture");
but how to set this in the environment?
by the way, i'm use 0.2.5, even i set the headless=true, it still doesn't work, is that i need to upgrade it to 0.3.0 or upper?
By: Danny Liu - dsyliu
RE: X11 issue - solved
2003-06-12 07:37
I encountered the same problem and it didn't work after I inserted System.setProperty("java.awt.headless", "ture");
Can somebody please explain to me how this works?
Thank you.
By: Teodor Danciu - teodord
RE: X11 issue - solved
2003-06-12 08:14
Hi,
Try "true", not "ture". And only if you have JDK1.4.x.
I hope this helps.
Teodor
By: Danny Liu - dsyliu
RE: X11 issue - solved
2003-06-13 07:06
Sorry, it was a typo. I did type "true" and use jdk1.4.x, it didn't work. Any suggestion?
Thank you.
By: Vincent Chu - centrix
RE: X11 issue?
2002-07-22 21:51
No one can help me?