|
Hi David, Do you know when jdk1.4 will be part of OS400 (Starting from what release) or will be available as PTF? Thanks, Alex Pinsky -----Original Message----- From: David Morris [mailto:David.Morris@plumcreek.com] Sent: Thursday, December 19, 2002 10:53 AM To: java400-l@midrange.com Subject: Re: Java Graphic and Font environment on AS/400 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 _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
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.