jdbc - Jasperstarter: Unable to load driver -
i using jasperstarter 3.0.0 in linux follows:
sudo /home/name/jasperstarter/bin/jasperstarter pr prueba_1.jrxml -f pdf -t generic --db-url jdbc:sqlite:/home/name/data/basename.sqlite --db-driver /home/name/jasperstarter/jdbc/sqlitejdbc-v056.jar
i running folder have report (prueba_1.jrxml), error message:
unable load driver: /home/name/jasperstarter/jdbc/sqlitejdbc-v056.jar
what see in posts must have drivers in jdbc file, , have it.
i check path of driver , written.
time ago same command working (with same files etc.), not now. thing changed definition of path of java in etc/profile, because wrong.
now when typing echo $java_home , echo $path ok: pointing last java folder (jre1.8.0.101)
could tell me doing wrong?
effectively, matter of writting class name of driver, not path.
i did , error dissapeared
thank asnwers!!
Comments
Post a Comment