See this page for an example of specifying classpath on the IBM i . The
separator character used on the IBM i is the ":" (colon) character. Your
example classpath shown below is using a semicolon character, which is used
in Windows.
Also, is the first slash character (/) in your classpath meant to be the
current directory? If so, use a "." (period) character.
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fr
zaha%2Fclasspth.htm
Craig Pelkie
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of James Lampert
Sent: Monday, June 18, 2012 2:10 PM
To: Java Programming on and around the IBM i
Subject: Re: Simple test Java app runs fine under Eclipse, and from a
WinDozecommand line, but fails on the 400.
Pete Helgren wrote:
Look at the *second* attempt though, after he added jdk6 to the
classpath. It indicates a Class Not Found error NOT an Unsupported
Class Version error. He needs to add the folder where the .class file
resides to his class path. Even if it is the IFS 'root' folder.
When I tried:
JAVA CLASS(Test25jn2012) CLASSPATH('/;/qibm/ProdData/Java400/jdk6')
(which I understand to be the way to include both in the classpath), I still
get the ClassNotFoundException. Do I have the syntax wrong on the classpath?
At this point, the whole matter is moot, because I found the immediate
problem that was keeping Tomcat from working properly. But the fact that I
can't get the test program to work is still bugging me, and so any help
would still be appreciated.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.