|
You are getting a classDefNotFound during compile or run time? The native optimization is a run time only enhancement so some errors start showing up only at run time. To get native optimizations, you need V5R1 /qibm/proddata/os400/jt400/lib/jt400Native.jar -- OR -- jt400.jar plus /qibm/proddata/os400/jt400/lib/jt400Native11x.jar V4R5 jt400.jar plus /qibm/proddata/java400/jt400nvt.jar In v5r1 /qibm/proddata/java400/jt400ntv.jar is a symbolic link to the right jar in /qibm/proddata/os400/jt400/lib so if you use that file in v4r5 your reference will still work in v5r1. For more info check out our FAQ at http://www-1.ibm.com/servers/eserver/iseries/toolbox/faq.htm#faqT David Wall AS/400 Toolbox for Java Kristofor Jacobson To: java400-l@midrange.com <cuda70_383@yahoo cc: .com> Subject: Re: java.lang.NoClassDefFoundError: com.ibm.as400.access.AS400 Sent by: (Robert Upshall) java400-l-admin@m idrange.com 12/17/2001 02:49 AM Please respond to java400-l Can somebody clarify how this got fixed? I haven't asked about this yet. For right now, I use javac from Qsh to do my compiling, and I've had the same problem with creating a new AS/400 object when only using the system name. >From what I can tell, when you only use the system name, you are using one of the toolbox "optimizations" for java classes accessing the same AS/400 on which they are executing. This seems to be the problem for me - so far as I can tell. If I use "*CURRENT" for user and password (or use the constructor that only takes system name) I get this error. I've been pulling my hair out on this for a week because otherwise everything works just fine. I'm doing this to get the toolbox data queue optimization. I've tried several things with my Classpath, and I haven't had any success yet. __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com 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 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.