Ok guys, 
I told you I would be back after I upgraded to V5R4.  I'm BACK
I wanted to update you on where I'm at.  I won't go through all the
things I've tried, but I have made significant progress.  
I am now able to get my class file to run(well partially).  

I am now exporting my classes as a .jar file and using a manifest file.
My problem now is that I'm referencing a file in my class, but I'm
getting a 'No such path or directory' error.  
I know that the path is valid, because I can run successfully within

My manifest file looks like this. 

Main-Class: lockBox.UploadLockBox
Class-Path: /javadir/lockBox/

The statement I'm having difficulty with is this. 
BufferedReader in = new BufferedReader(new
FileReader("\\\\rgc-ad\\Public\\customer Service\\Lockbox\\Lockbox
Payment Datafiles\\020707P.txt"));

Do I need to specify this path differently because its on the IFS?   Any

Michael Smith

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Carl
Sent: Wednesday, February 14, 2007 6:13 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: RUNJVA problems

On 2/14/07, Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx> wrote:
Thanks for input John.
I've been through most of what you have listed, still a couple things 
to check, but I thought for the sake of it, I would go ahead and post 
my code.  Don't laugh at the code, as I'm really just getting my feet 
wet with java.


I've taken your code and compiled it. Here is my directory structure.

/home/carl/test/lockBox/ /home/carl/test/lockBox/ConnectDB2.class

And I can successfully call the application using:

RUNJVA CLASS(lockBox.UploadLockBox)

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