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



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.

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.