Results 1 to 4 of 4
  1. #1
    Join Date
    May 2007
    Posts
    3

    Unanswered: UltraLite JDBC driver

    I'm developing a midlet using netbeans ide, wich can access an ultralite database. For the ide to connect to the database, I need to provide a jdbc driver for this db.
    Ultralite has a jdbc driver ulrt.jar but when I use it in netbeans a message error appears : Unable to add connection,cannot establish connection ... using ianywhere.ultralite.jdbc.JdbcDriver -->Unable to find a suitable driver.


    Do somebody have an idea on why this is not working?
    Is this driver not compatible with jdk 1.6?
    please I really not help!!!

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    Where is your JAVA_HOME pointin to? it should point to the JRE supplied in the iAnywhere installation.

  3. #3
    Join Date
    May 2007
    Posts
    3

    Nop

    First, thank you Willy.. for having replied to me.
    Actually, my JAVA_HOME environment variable was pointing to the folder where I have installed my jdk1.6.So I changed JAVA_HOME so it would point to the folder where the jre provided by SQL Anywhere is.
    Still, i have the same error. Do you use ultralite? Does it work for you?

  4. #4
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    I have used Ultralite in the past but never with Java.

    I still think this is an environment variable problem, have you tried to run this from the debugger? How about your CLASSPATH, does it it point to ulrt.jar? besides others
    Last edited by willy_and_the_ci; 05-10-07 at 23:47.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •