Java and mysql


I’d like to know if exists on QNX the import java.sql.* because I want a develop an application that reads from mysql and show the information on a GUI using SWT.

How can I do that?

thanks for your help

If you got the MySQL JDBC driver, I think it would likely work, I don’t think it needs too recent a version of Java or anything.

well I have installed the Mysql JDBC, but that not provide me with the java import “java.sql”, so where can I get it? or what I have to do? any ideas?

I guess you have mysqlconnector as a JAR file? If so, make sure your $CLASSPATH environment variable includes the path to it by doing:

export CLASSPATH=$CLASSPATH:/home/spidey/JDBC/mysqlconnector.jar

or wherever the JAR file is.