Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject Problem with PJA, Weblogic 6.1, jdk 1.3.1 and solaris

equislc

Member since : Feb 16, 2005
Messages : 1
 Feb 16, 2005 at 6:15 PM
Hi all,

I'm new with PJA, and I'm trying to generate a PDF file from Weblogic,
It works well with Windows, but it doen't work with Unix,
I just get the error "Can't connect to X11 window server using ':0.0'"

I start the Weblogic server with the parameters:
-Xbootclasspath/a:/opt/bea/lib/pja.jar
-Dawt.toolkit=com.eteks.awt.PJAToolkit
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
-Djava.awt.fonts=/opt/bea/jdk131/jre/lib/fonts

and I have the following code in my application:

Properties prop = System.getProperties ();
prop.put ("awt.toolkit", "com.eteks.awt.PJAToolkit");
prop.put ("java.awt.graphicsenv", "com.eteks.java2d.PJAGraphicsEnvironment");
System.setProperties (prop);

but it still doesn't work !
does anyone know why ?

Thanks in advanced!
Xavier


Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation