|
Hi Mike This might be a silly answer, but have you checked everything is in the correct case? Regards, Terry
-----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l- bounces@xxxxxxxxxxxx] On Behalf Of Smith, Mike Sent: 25 September 2006 17:54 To: Java Programming on and around the iSeries / AS400 Subject: RE: Running java on Iseries Sorry, I changed my package name from MIKE to FAC It should have read ===> RUNJVA CLASS('fac\FacilityAccessGetFiles') CLASSPATH('\\rgc-access\winsx$\IseriesJava\') I tried addeding qntc So that I ran this ===> RUNJVA CLASS('fac\FacilityAccessGetFiles') CLASSPATH('\qntc\\rgc-access\winsx$\IseriesJava\') I receive the following error java.lang.NoClassDefFoundError: fac\FacilityAccessGetFiles at java.lang.Throwable.<init>(Throwable.java:195) at java.lang.Error.<init>(Error.java:49) at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:40 Michael Smith iSeries.mySeries. -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan Sent: Monday, September 25, 2006 12:40 PM To: Java Programming on and around the iSeries / AS400 Subject: Re: Running java on Iseries I'll try. To run it directly (after you've performed the javac to make your java into a class file), do a java FacilityAccessGetFiles. If \\rgc-access is a Windows system name, you'll need to use \qntc\\rgc-access\winsx$\IseriesJava. And what is directory mike? Is that on the iSeries? On 9/25/06, Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx> wrote:I've finally gotten back to this and am trying to get it to run. I have placed the program on the server where the Access database resides. My package is named FAC My java program is called FacilityAccessGetFiles The location is \\rgc-access\winsx$\IseriesJava I would like to do 2 things. It might be redundant. If it doesn't make sense tell me. First, I want to go to this directory and try to run it directly. If I
right
click on the FacilityAccessGetFiles, I don't see the ability to run this program. How would I do this? Secondly I want to call from CL. I tried using the information below, but I haven't been able to get
it
to run. I get Class not found. Using the following ===> RUNJVA CLASS('mike\FacilityAccessGetFiles') CLASSPATH('\\rgc-access\winsx$\IseriesJava\') Can you set me straight on this? Michael Smith iSeries.mySeries.
This message may contain confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.
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.