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



Since the ini file is essentially used like a properties file, the Java
application will be loading it and specifying the path to it when it does.
You need to put it where the application expects it (where the path to it
is).

According to instructions, "must be placed under a user account folder,
preferable the user used by your application" one would deduce that the
application is looking for it in the home directory of the userid that the
application is run under.

How does this application run on the system? Is it started to run in a
subsystem? What is the user it is started with? Do you feed the ini file
path and name when it starts?

Kristen



-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of John
Allen
Sent: Friday, June 27, 2014 3:22 PM
To: 'Java Programming on and around the IBM i'
Subject: RE: HOpefully quick easy question for some java experts

David,

Thanks for your help/suggestions/guidance on my issue.
I greatly appreciate it.

I tried putting the ini file in '/home/jallen/ATJ0804/'
I also tried putting it in '/home/ATJ0804/'
I also tried putting it in the directory with the jar file.

Whatever directory I put it in, does the path have to be included in the
class path?







-----Original Message-----
From: David Gibbs [mailto:david@xxxxxxxxxxxx]
Sent: Friday, June 27, 2014 3:54 PM
To: Java Programming on and around the IBM i
Subject: Re: HOpefully quick easy question for some java experts

On 6/27/2014 2:46 PM, John Allen wrote:
But.................. " Same place you would put it if
running on
another platform." Does not mean anything to me because I
have never
done anything with Java on another platform.

Well, the java application would normally be put in a directory on any other
system.

You put the application in a similar directory on the IFS on the IBM i.

Your ini file would be placed in the same relative location in the IFS as it
would be on any other platform.

I have attached a zip file to this email. The archive
contains a
folder ATJ0804 and the .ini file. The ATJ0804 folder and
the .ini file
must be placed under a user account folder, preferable the
user used
by your application, like C:\Documents and
Settings\user\ATJ0804\ATJ0804.ini for Windows OS.

The user home directory on the IFS is
/home/<youruserprofile>

It sounds like the you should create directory named
'/home/jallen/ATJ0804 and put everything in that directory.

david

--
IBM i on Power Systems: For when you can't afford to be out of business!

I rode a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de
Cure to raise money for diabetes research, education, and advocacy. You can
still sponsor me by visiting http://email.diabetessucks.net. Any amount is
appreciated.

See where I get my donations from ... visit
http://email.diabetessucks.net/mapdonations.php for an interactive map (it's
a geeky thing).
--
This is the Java Programming on and around the IBM i
(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/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.

--
This is the Java Programming on and around the IBM i (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/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.


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.