Thanks for responding, however,

qsh cmd('pwd')

and

qsh cmd('echo $HOME')

show it to be what I expect it to be, i.e. /home/pdow, which is what my user profile shows as the home directory.

Also, doing

qsh cmd('ls .')

shows the known contents of /home/pdow.

I think the problem is somewhere else.

On 7/20/2011 5:18 AM, Thorbjoern Ravn Andersen wrote:
Den 20/07/11 03.38, Peter Dow skrev:
Woohoo! That got it loaded without errors. Sounds like a bug in how java
uses the classpath. I saw quite a few examples saying to put ".:" at the
beginning of the classpath to include the current directory.
The problem is more likely that your current directory is not what you
expect it to be. I've frequently found that the $HOME folder does not
exist on an AS/400 machine (which is very uncommon on Unix) and then you
are started in "/".

You can always use an invocation similar to (untested) "cd whereever;
java whatever".


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.