|
Alex, You have a few options. You can remove all references to awt from the package, which doesn't sound like an option. You could produce the reports on a server connected to your iSeries system and pass them back. You can set up and run NAWT. With NAWT, awt calls are intercepted and processed by a job running on your system running VNC. Finally, and best if it works (I haven't tested this on the iSeries) is to install the 1.4 JDK and set the system property java.awt.headless to true. David Morris >>> apinsky@aeropostale.com 12/19/02 08:16AM >>> This is a multi-part message in MIME format. -- -- [ Picked text/plain from multipart/alternative ] Hi, I'm trying to evaluate Sitraka's ServerReport Java software (allows to generate PDF documents in a servlet) and get an error message: java.lang.Error: Could not find class: com.ibm.rawt2.ahost.java.awt.AHGraphicsEnvironment java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90) java/lang/Error.(Ljava/lang/String;)V+1 (Error.java:46) java/awt/GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;+63 (GraphicsEnvironment.java:61) java/awt/Font.initializeFont(Ljava/util/Hashtable;)V+155 (Font.java:264) java/awt/Font.decode(Ljava/lang/String;)Ljava/awt/Font;+321 (Font.java:778) com/klg/jclass/sreport/JCTextStyle. This software requires Java graphics and Font environment to be installed on a server. This class can be found in in few places: \QIBM\ProdData\OS400\Java400\jdk\RAWTAHost.jar , \QIBM\ProdData\OS400\Java400\jdk13\RAWTAHost.jar Alex
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.