vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am trying to execute a basic Java program in Open MVS on an OS/390 system. The program compiles fine but when I go to execute it, it can't find the JDBC driver. I've tried using both ibm.sql.DB2Driver and COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver but both fail on a ClassNotFoundException. Where should this driver be? This is the first Java program I've ever attempted on the mainframe - I've got several years of experience with Java on Windows - and the staff here doesn't know much about Java. It's very possible that Java is not fully set up on this mainframe. I can't find anything on the placement of the driver in the manuals; the Installation Guide refers me to DB2 UDB for OS/390 V6 Application Programming Guide and Reference for Java but that manual doesn't talk about install issues for Java at all. I'm running DB2 for OS/390 Version 6. The OS/390 system is running V2R10. Can anyone point me in the right direction? -- Rhino |
| ||||
| "Rhino" <rhino1@NOSPAM.sympatico.ca> wrote in message news:%uR7e.6406$MZ2.916351@news20.bellglobal.com.. . > I am trying to execute a basic Java program in Open MVS on an OS/390 system. > The program compiles fine but when I go to execute it, it can't find the > JDBC driver. I've tried using both ibm.sql.DB2Driver and > COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver but both fail on a > ClassNotFoundException. > > Where should this driver be? > > This is the first Java program I've ever attempted on the mainframe - I've > got several years of experience with Java on Windows - and the staff here > doesn't know much about Java. It's very possible that Java is not fully set > up on this mainframe. I can't find anything on the placement of the driver > in the manuals; the Installation Guide refers me to DB2 UDB for OS/390 V6 > Application Programming Guide and Reference for Java but that manual doesn't > talk about install issues for Java at all. > > I'm running DB2 for OS/390 Version 6. The OS/390 system is running V2R10. > > Can anyone point me in the right direction? > Just to follow up on my own post, I must have been using the wrong search terms in Book Manager; as soon as I tried the Application Programming Guide and Reference for Java again, I found the install steps in Chapter 7. I hate when that happens ;-) Anyway, it appears that the install of the Java support for DB2 has never been done on this system; the /usr/lpp/db2 directory is completely empty. Looks like I'm going to have to get the system administrator to do a bit of installing ;-) Sorry to waste anyone's time.... Rhino |