|
On Tuesday, 02/18/2003 at 01:25 CST, José Luis Calvo <jlcalvo@xxxxxxxxxxxxx> wrote: > Anybody has used the headless support available in Java 1.4 with the AS400? Support for the "headless" JVM property -- -Djava.awt.headless=true -- on iSeries is recently available, but for V5R2 only. (You will need to get the PTFs that include support for JDK1.4.1 -- the group PTF update should be out in a day or two.) JDK1.4 is available on V5R1 (JDK1.4.0 for now, with 1.4.1 coming Real Soon New) but the headless property is NOT supported in V5R1. Equivalent "headless" functionality is available using NAWT in V5R1, which is the Right Answer. Nobody wants to use RAWT unless they have to (whenever there are interactive "headed" graphics requirements in V5R1 and earlier releases.) For V5R2, all graphics applications deployed using JDK 1.4 should migrate to using NAWT instead of RAWT. HTH. > > I am testing it (using de property java.awt.headless=true, and with > java.version=1.4), but i am having an Exception > > java.lang.Error: Could not find class: > com.ibm.rawt2.ahost.java.awt.AHGraphic > sEnvironment > at java/lang/Throwable.<init>(Throwable.java:195) > at java/lang/Error.<init>(Error.java:49) > at > java/awt/GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsE > nvironment.java:68) > at > java/awt/image/BufferedImage.createGraphics(BufferedImage.java:105 > 3) > at > java/awt/image/BufferedImage.getGraphics(BufferedImage.java:1043) > at NAWTtest.<init>(NAWTtest.java:52) > at NAWTtest.main(NAWTtest.java:244) > $ > > I don't want to use RAWT, i want to use the headless support. May be i need > to install support por NAWT and PASE? -blair Blair Wyman -- iSeries JVM -- (507) 253-2891 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "It is a sobering thought that when Mozart was my age, he had been dead for two years." -- Tom Lehrer
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.