|
Where you put jt400.zip is not as important is getting your environment set up to so tools find jt400.zip. The command line JDK tools (java, javac, etc.) use environment variable "CLASSPATH" to find java classes. Putting jt400.zip in something in the 'path' environment variable doesn't do any good since CLASSPATH is searched to find java classes. Suppose you place your .java files in c:\java and jt400.zip in c:\java\lib. You need to run "set CLASSPATH=c:\java;c:\java\lib\jt400.zip" so the command line tools find your code and the Toolbox zip file. Integrated development environments are similar. VisualAge for Java, Symantec Cafe, JBuilder, etc. all have a slightly different way to make things like jt400.zip 'visible'. The terminology is the usually same, however. They talk about adding things to CLASSPATH. David Wall AS/400 Toolbox for Java "* Jay.D. Fernando *" <fernandod@hotmail.com> on 02/11/2000 11:12:10 AM Please respond to JAVA400-L@midrange.com To: JAVA400-L@midrange.com cc: Subject: Re: Java on AS/400 We have decided to work with Toolbox for Java...I have copied jt400.zip file from AS/400 to my C:> in my Win'98 workstation....now when I compile a java pgm which uses "import com.ibm.as400.access" and "import com.ibm.as400.vaccess" I am getting an error "package com.ibm.as400.access" and "package com.ibm.as400.vaccess" not found in import. My question is since I have already set my path as c\jdk1.2.1\bin can I place the jt400.zip file in folder "bin"? . Thanks Jay From: Graeme English <graeme.english@halna.com> Reply-To: JAVA400-L@midrange.com To: JAVA400-L@midrange.com Subject: Re: Java on AS/400 Date: Thu, 10 Feb 2000 14:03:44 -0500 MIME-Version: 1.0 Received: from [192.160.127.93] by hotmail.com (3.2) with ESMTP id MHotMailBA6CE91300C9D82197ECC0A07F5D07D20; Thu Feb 10 21:28:53 2000 Received: (from uucp@localhost)by uucphost.mcs.net (8.9.3/8.8.8) with UUCP id XAA49424;Thu, 10 Feb 2000 23:28:31 -0600 (CST) Received: (from majordom@localhost)by midrange.dynip.com (8.9.3/8.8.7) id NAA14767for java400-l-outgoing; Thu, 10 Feb 2000 13:04:50 -0600 Received: (from uucp@localhost)by midrange.dynip.com (8.9.3/8.8.7) with UUCP id NAA14735for JAVA400-L@midrange.com; Thu, 10 Feb 2000 13:04:30 -0600 Received: from sims-px1.cg.sfl.net (sims-px1.cg.sfl.net [139.142.2.100])by uucphost.mcs.net (8.9.3/8.8.8) with ESMTP id NAA15592for <JAVA400-L@midrange.com>; Thu, 10 Feb 2000 13:01:00 -0600 (CST) Received: from ns (h216-183-1-2.mt.sfl.net [216.183.1.2]) by sims-px1.cg.sfl.net (Sun Internet Mail Server sims.4.0.1999.10.29.10.36.p4) with SMTP id <0FPQ00E6PA5KK6@sims-px1.cg.sfl.net> for JAVA400-L@midrange.com; Thu, 10 Feb 2000 12:00:57 -0700 (MST) From java400-l-owner@uucphost.mcs.net Thu Feb 10 21:31:47 2000 Message-id: <001b01bf73f9$8dd41280$0e00a8c0@ns.tor.sfl.net> X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-Priority: 3 X-MSMail-priority: Normal Sender: owner-java400-l@midrange.com Precedence: bulk Jay, do you mean to say that you are looking at having 400 serverside programs invoke AWT GUI classes? If so, there are some steps you must follow to use the AS/400's Remote AWT functions (i.e. start a client side daemon). Have you looked into these? There is stuff to do on both client and server sides. Regards, Graeme. -----Original Message----- From: * Jay.D. Fernando * <fernandod@hotmail.com> To: JAVA400-L@midrange.com <JAVA400-L@midrange.com> Date: Thursday, February 10, 2000 1:51 PM Subject: Java on AS/400 >Hi Folks, > Is there anybody working with Java on AS/400....I need to know >how to use JAVA SWING class's on the AS/400.....our version of OS/400 is >V4R3...we guys have just now loaded AS/400 Developer Kit for Java....checked >out some simple pgms...they are working fine...but cant use AWT or SWING >either....can anybody enlighten me on this issue. > >Thanks >Jay >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com > >+--- >| This is the JAVA/400 Mailing List! >| To submit a new message, send your mail to JAVA400-L@midrange.com. >| To subscribe to this list send email to JAVA400-L-SUB@midrange.com. >| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner: joe@zappie.net >+--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +--- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.