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



Thanks David...  I did check the archives, but could not really find
anything on CL.  As far as the CLASSPATH environment variable goes, is there
a way to view the environment variables?  I know the command to change, but
am not sure how to display them.

Thanks,
Chad Cornelius, IIS
(720) 921-7835

-----Original Message-----
From: David Gibbs [mailto:david@xxxxxxxxxxxx] 
Sent: Friday, September 09, 2005 12:19 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Calling a Java Program from CL

cornelius, chad wrote:
> Does anyone know how to call a Java program from a CL?  If so, do you have
> an example CL?  Also, if the program being called resides in a .jar, how
do
> you add the .jar to the classpath on the ISeries?  We are running V5R2.

Um ... check the archives.  This kind of thing has been discussed heavily.

In a nutshell: RUNJVA command or via qshell.

You put a jar on the classpath the same way you do it on any other
system ... using the CLASSPATH environment variable or specify it on the
command line.

david

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.