Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2013

    Unanswered: pervasive sql to jva eclipse

    i'm trying to connect java to pervasive that's what i do :
    in cmd :
    set CLASSPATH=%CLASSPATH%;C:/PVSW/Bin/pvjdbc2.jar
    set CLASSPATH=%CLASSPATH%;C:/PVSW/Bin/pvjdbc2x.jar
    set CLASSPATH=%CLASSPATH%;C:/PVSW/Bin/jpscs.jar

    set PATH=%PATH%; C:/PVSW/Bin

    then in eclipse :

    import java.sql.*;

    public class pervasive {

    public pervasive()throws Exception{

    String URL1 = "jdbcervasive://Ip_adress:1583/DEMODATA";

    DriverManager.getConnection(URL1,"Informatique02", "PSW");

    catch(SQLException e)



    public static void main(String[] args) throws Exception{

    new pervasive();



    when i run the application :

    Exception in thread "main" java.lang.ClassNotFoundException: com.pervasive.jdbc.v2.Driver
    at$ Source)
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at jdbc.pervasive.<init>(
    at jdbc.pervasive.main(

    can any one help me please urgent. thank you

  2. #2
    Join Date
    Dec 2001
    Provided Answers: 6
    The last time I worked in Eclipse with the Pervasive JDBC driver, I added the JAR to the environment. A quick search found this link that might help.
    Mirtheil Software
    Certified Pervasive Developer
    Certified Pervasive Technician
    Custom Btrieve/VB development
    I do not answer questions by email. Please post on the forum.

Tags for this Thread

Posting Permissions

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