× 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.



Hai,
maybe an IBM guru can give you a better answer,
but the AS/400 do not support a GUI interface...
You could try RAWT (Remote AWT).

Ciao.

On Mon, 14 Apr 2003 07:08:20 -0700 (PDT), Ashish Kulkarni wrote:

>Hi,

>I have a simple java program which extends JFrame and
>I get the following error when i try to run it.
>It just popups a window to say hello window??
>I have jdk1.3.1 on V5R1 AS400

>Ashish


>java  MyWindow                                        
>                      
>Exception occurred in main() of javax.swing.JFrame    
>                      
>java.lang.Error: Could not find class:
>com.ibm.rawt2.ahost.java.awt.AHGraphic
>sEnvironment                                          
>                      
>     
>java/lang/Throwable.<init>(Ljava/lang/String;)V+4
>(Throwable.java:90)  
>     
>java/awt/GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/Gra
>phicsEnvironment;+63 (GraphicsEnvironment.java:61)    
>                      
>     
>java/awt/Window.<init>(Ljava/awt/GraphicsConfiguration;)V+69
>(Window.ja
>va:186)                                               
>                      
>      java/awt/Frame.<init>()V+7 (Frame.java:262)     
>                      
>      javax/swing/JFrame.<init>()V+1 (JFrame.java:141)
>                      
>      MyWindow.<init>()V+0 (MyWindow.java:33)         
>                      
>      MyWindow.main([Ljava/lang/String;)V+0
>(MyWindow.java:161)              
>$                                                     
>                      

>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - File online, calculators, forms, and more
>http://tax.yahoo.com
>_______________________________________________
>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.cgi/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.



-----------------------
Franco Biaggi
CH-6807 Taverne


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.