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



You can also solve this issue by putting the latest JVM PTFs on your
system.  I convinced the Java team that the Native JDBC driver should be
found by default when used.


Regards,

Richard D. Dettinger
AS/400 Java Data Access Team

"Biologists have a special word for stability -- dead"

                Larry Wall
                Open Source Developers Journal
                Issue 1, Jan  2000


sepp.muegeli@dvbern.ch@midrange.com
09/04/2001 08:45 AM

Please respond to java400-l@midrange.com

Sent by:  java400-l-admin@midrange.com


To:   java400-l@midrange.com
cc:
Subject:  Antwort: Re: Antwort: Different JDK versions on one AS/400
      (Document link: Richard Dettinger)



Marco

An easy way is to make a symbolic link from the ext-directory to the file
db2_classes.jar:

/QIBM/UserData/Java400/ext/db2_classes.jar ->
/QIBM/ProdData/Java400/ext/db2_classes.jar
(I'm not shure if the path is correct, I don't have access to the as/400
right now).


Java 2 will always include the ext-directory to the class path.






javac -J-Djava.version=1.2 CreateDTWUser.java

CreateDTWUser.java:32: Class com.ibm.db2.jdbc.app.DB2Driver not found.

                DriverManager.registerDriver(new
com.ibm.db2.jdbc.app.DB2Driver());
                                                                     ^

1 error



Where does the classpath come from using these settings ?



Sepp Muegeli
DV Bern AG
____________________________________________________________
mailto:sepp.muegeli@dvbern.ch  /  http://www.dvbern.ch
X.400 Adresse:  G=sepp; S=muegeli; P=ibmmail; A=ibmx400; C=ch
Briefpost:  Sulgenauweg 40 ,  CH-3007 Bern
Tel: / Int. / Fax:  ++41+31 378 24 54  /  454  /  ++41+31 378 24 74





_______________________________________________
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 thread ...


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.