aspose file tools*
The moose likes JDBC and the fly likes InstantDB question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "InstantDB question" Watch "InstantDB question" New topic
Author

InstantDB question

Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
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


All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jan 24, 2001
Posts: 476
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

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jan 24, 2001
Posts: 476
I'll try it, will see how it works out. Thanks for you help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InstantDB question