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



> From: Steven Molinaro
> 
> Thanks for the reply. I tried what you said. I did a cd /Java and then
> "set CLASSPATH=.", followed by java HelloWorld and I still got the
same
> errors. I apologize if I am missing an obvious step.

Ugh.  It's been a long time since I tried this on the host.  I rarely
run from QShell these days, partially because of issues like this.

After some playing around, I found that "set CLASSPATH" doesn't work
inside of QShell.  In fact, the set command with a parameter doesn't do
much of anything (without parms it shows the current list of environment
variables).

So, you have to set the CLASSPATH *before* you start QShell, by using
the WRKENVVAR command.  Now, I don't know why your initial value is
pointing to the jt400/lib folder, but as long as you don't care about
that, simply use WRKENVVAR to replace your CLASSPATH with "." (no
quotes).

Then you should be able to go into QShell, cd /Java, and then run your
HelloWorld program.  I just did it, and it works fine.

(The memory begins to clear a little.  This all sound vaguely familiar.)

Good luck!

Joe



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