Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7575202
By: rbleasdale
I am a beginner and have had some success with Python and pydev and wanted to
use Jython and DB2 JDBC in pydev.
I found some sample code which works fine at the command prompt but not within
pydev
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance()
con = DriverManager.getConnection( 'jdbc:db2:sample','db2admin','password')
When I run it claims it cannot find the class
java.lang.ClassNotFoundException: java.lang.ClassNotFoundException:
COM.ibm.db2.jdbc.app.DB2Driver
I have added the DB2 jar files and folder to PYTHONPATH libraries and added
them to the module folder. All to no avail.
Can anybody tell me how I can persuade pydev to find the jars
Thanks
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users