|
Hi, you should have a .jar file containing the class (jt400.jar ?) in your classpath. On Fri, 20 Jun 2003 18:02:43 +0200 (CEST), Adele Cavalli wrote: >Hi, > >I'm trying my first java program (copied from IBM site !!) but when I try to >compile I get this error: > >javac -verbose /adele/JDBCQuery.java > >. . . >/adele/JDBCQuery.java:65: cannot resolve symbol > >symbol : class AS400JDBCDriver > >location: package access > > DriverManager.registerDriver(new > com.ibm.as400.access.AS400JDBCDriver()); > ^ > >[loading >/QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/sql/DriverManager.class)] > >[loading >/QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/sql/DatabaseMetaData.class)] > >[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/sql/Statement.class)] > >[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/sql/ResultSet.class)] > >[loading >/QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/sql/ResultSetMetaData.class)] > >[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/Math.class)] > >[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/Exception.class)] > >[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/Throwable.class)] > >[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/sql/SQLException.class)] > >[total 877ms] > >1 error > >What is missing ? > >Thanks. >--------------------------------- >Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! >Testez le nouveau Yahoo! Mail >_______________________________________________ >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 messages was scanned for malicious contents *** ----------------------------------------------------------------------------- Franco Biaggi CH-6807 Taverne
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.