× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,

The headless flag in JDK 1.4 works only on V5R2. On V5R1 NAWT shoulb be used but unfortunately this programm runs on a V5r1 system without a PASE environment, so NAWT is not available.
RAWT is the only option, but hangs as described on GUI client side (windows box).


Any other hints? Thanks, Patrick

David Morris wrote:
Patrick,

Many of the reasons for running RAWT or NAWT are eliminated with the
1.4 JDK running headless. At one point you had to be on V5R2 to use the
headless support but you might check to see if it works on V5R1. With headless
you specify -Djava.awt.headless=true and can access many of the graphic
functions that are part of AWT without a display capable server. Is that an
option for you?


David Morris


patrick.galli@xxxxxxxxxx 8/1/2003 5:14:19 AM >>>

I'm running an application on AS400 side using RAWT, jdk1.3.1 OS400
Rel. V5R1. The apllication is started in qshell


The GUI Part runs on a Windows 2000 Box with jdk1.3.1

The Gui Server is contacted, but then a msgbox pops up and
following exception is displayed:

java.lang.InstantiationException: com/ibm/rawt2/gui/java/awt/image/GBufferedImage
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at com.ibm.rawt2.gui.GFactory.createObject(GFactory.java:415)
at com.ibm.rawt2.common.StreamEncoderDecoder.decodeArgument(StreamEncoderDecoder.java:1363)
at com.ibm.rawt2.common.StreamEncoderDecoder.decodeParameters(StreamEncoderDecoder.java:657)
at com.ibm.rawt2.common.RAWTChannel$ChannelListenerThread.run(RAWTChannel.java:153)



The appliation on as400 side terminates.


any suggestions? thanks,

Patrick
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.