[request] IDE: want to dynamically add something to Java classpath at runtime (e.g. JDBC driver)

Bug #1274500 reported by RaiMan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Wishlist
RaiMan

Bug Description

**** workaround until solution is available in SikuliX

see related question

---------------------------------------------------------

In the "Can I do X or Y or Z in Sikuli?" there is a bit about connecting sikuli to a database.

Anyway, my goal is to make the following script run:

    from com.ziclix.python.sql import zxJDBC
    db = zxJDBC.connect("jdbc:mysql//localhost/core", "xxx", "xxx", "com.mysql.jdbc.Driver", CHARSET='iso_1')

I've copied the mysql-connector-java-3.1.14-bin.jar file into sikuli's libs directory.

I've added an entry to the classpath in the runIDE.cmd script

I've tried adding the classpath entry inside my sikuli script

In all cases, I get:

[error] zxJDBC.DatabaseError ( driver [com.mysql.jdbc.Driver] not found )

What do I need to do in order to make this work?

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
importance: High → Medium
milestone: 2.0.0 → 1.1.4
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Medium → Wishlist
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.4 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.