Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InstantDB question

 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
does anybody use InstantDB? I tried to set it up, put CLASSPATH pointing to /Classes/idb.jar, but the damn thing does not work. Do I have to import anything in my program? I saw couple of people putting import jdbc.idDriver.*; but it does not work. When I run the servlet, all I get is this:
java.lang.ClassNotFoundException: jdbc.idbDriver[jdbc.idbDriver]
any help is greatly appreciated,
Alex
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What IDE and what OS? From Enhydra's InstantDB Site:

Visual Age for Java� Users
For some reason, Visual Age for Java� cannot import the current InstantDB JAR files. To import into VAJ, simply unarchive the JAR files into an empty directory and import the directory instead.
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Windows 98, and JRun 3.0 as my server. I don't use any particular IDE. When I use InstantDB, should I import anything related to InstantDB in my application?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be honest, I don't know instantDB. However, in general, you will have a JDBC driver ( probably in its own package stored in a JAR ) that will need to be accessible to your class that makes the connection. This will require that you put the JAR in your classpath and either import the package or use the fully qualified class name ( including the package ).
I assume that you have a suitable driver, so verify that the JAR is in your classpath. You can do this by putting the JAR file in a directory that is already in your classpath, or by adding the directory where the JAR lives to your classpath. Is that of any help?
[This message has been edited by Bodie Minster (edited April 19, 2001).]
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll try it, will see how it works out. Thanks for you help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic