×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




It's not finding your CommandServerJDQ.class. You need to specify its
location in your classpath also.

> -------- Original Message --------
> Subject: Questions on "Calling PC Commands from RPG" article
> From: Dan <dan27649@xxxxxxxxx>
> Date: Wed, October 26, 2005 12:51 pm
> To: Java Programming on and around the iSeries / AS400
> <java400-l@xxxxxxxxxxxx>, Midrange Systems Technical Discussion
> <midrange-l@xxxxxxxxxxxx>
> 
> Note: IANAJPY (I Am Not A Java Programmer, Yet)
> 
> Has anyone perused "Calling PC Commands from RPG" by Kevin Vandever, found
> at http://www.itjungle.com/mpo/mpo091202-story05.html ? (Try
> http://tinyurl.com/dcahd )
> 
> I downloaded the java program, compiled it on my PC, and I have a .class
> file that I have no idea what to do with. The goal is to have an RPG program
> running on the iSeries submit a data queue entry containing the PC's IP
> address and a PC command to run on that PC. Something running on the PC
> accepts that data queue entry and runs the command.
> 
> Anybody know what actually runs on the PC? How to "invoke" (?) this? I
> tried:
> java CommandServerJDQ.class -cp "C:\Downloads\AS400\IBM Java\lib\jt400.jar"
> 
> ... and got:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> CommandServerJDQ/class
> 
> Note that the ClassPath (-cp) is the same used to compile the .java via the
> javac command.
> 
> TIA, Dan
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.