Messages of subject
JDK1.5 Weblogic 9.2 Solaris Headless Exception |
Trus
Member since : Jun 19, 2008
Messages : 3
|
Jun 19, 2008 at 7:56 PM
We're getting with JDK1.5 Weblogic 9.2 Solaris and not using PJA toolkit.
java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:189)
1)With JDK1.5 Are we suppose to use PJA tool Kit or JDK 1.5 includes all functionality provided by PJA for image loading/rendering?
2.does PJA tool kit support Jdk1.5 on unix?
3. If PJA supports 1.5 on unix than what changes we need to make java code work on unix?
We're not getting this exception server running on window with JDK 1.5 weblogic 9.2
Any help on this would be greatly appreciated.
Thanks,
Trushar
|
Manu
Location : Paris / France
Member since : Apr 29, 2003
Messages : 394
|
Jan 5, 2009 at 2:27 PM
> 1) With JDK1.5 Are we suppose to use PJA tool Kit or JDK 1.5 includes all functionality
> provided by PJA for image loading/rendering?
You don't need PJA Toolkit with Java >= 1.5
See http://www.eteks.com/pja/en/forum/viewSubject.jsp?subjectId=687#689
> 2.does PJA tool kit support Jdk1.5 on unix?
You can try the version 2.6 available at http://www.eteks.com/pja/pja_2.6.zip but I didn't succeed to make fonts work. Try to use Java headless included in Java 1.5.
> 3. If PJA supports 1.5 on unix than what changes we need to make java code work on unix?
If you can change code, make changes to avoid the use of PJAToolkit. This should be easy. --- Manu (moderator/modérateur)
|