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



Beats me.  

I changed it to a dot, but I still receive the same error

Michael Smith
iSeries.mySeries.


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Colin Williams
Sent: Monday, September 25, 2006 12:59 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Running java on Iseries


Mike,

shouldnt that be a dot in the classname, rather than a slash?

C


On 25/09/06, Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx> wrote:

Sorry, I changed my package name from MIKE to FAC
It should have read
===> RUNJVA CLASS('fac\FacilityAccessGetFiles')
CLASSPATH('\\rgc-access\winsx$\IseriesJava\')

I tried addeding qntc
So that I ran this
===> RUNJVA CLASS('fac\FacilityAccessGetFiles')
CLASSPATH('\qntc\\rgc-access\winsx$\IseriesJava\')

I receive the following error
java.lang.NoClassDefFoundError: fac\FacilityAccessGetFiles

       at java.lang.Throwable.<init>(Throwable.java:195)

       at java.lang.Error.<init>(Error.java:49)

       at 
java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:40

Michael Smith
iSeries.mySeries.


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx 
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Monday, September 25, 2006 12:40 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Running java on Iseries


I'll try. To run it directly (after you've performed the javac to make

your java into a class file), do a java FacilityAccessGetFiles.

If \\rgc-access is a Windows system name, you'll need to use 
\qntc\\rgc-access\winsx$\IseriesJava. And what is directory mike? Is 
that on the iSeries?

On 9/25/06, Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx> wrote:

I've finally gotten back to this and am trying to get it to run.

I have placed the program on the server where the Access database 
resides.

My package is named FAC
My java program is called FacilityAccessGetFiles
The location is \\rgc-access\winsx$\IseriesJava

I would like to do 2 things.  It might be redundant.  If it doesn't 
make sense tell me.

First,
I want to go to this directory and try to run it directly.  If I 
right

click on the FacilityAccessGetFiles, I don't see the ability to run 
this program.  How would I do this?

Secondly I want to call from CL.
I tried using the information below, but I haven't been able to get 
it

to run.  I get Class not found. Using the following
===> RUNJVA CLASS('mike\FacilityAccessGetFiles')
CLASSPATH('\\rgc-access\winsx$\IseriesJava\')

Can you set me straight on this?


Michael Smith
iSeries.mySeries.



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

Follow-Ups:

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.