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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JavaDB getting started" Watch "JavaDB getting started" New topic
Author

JavaDB getting started

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

I do not see a direct forum for this topic. The problem is that JDK 1.6 load 3 and above claims that include JavaDB, however I see all JavaDB directories empty after an installation. Can somebody refer to a good getting started guide explaining how to get actual JavaDb installed with JDk installation, obtaining connection and so on?

Installing Derby separately isn't an option for me, because I ship a product which has to start working out of the box considering that a user has only JDK 1.6 installed with a JavaDB option. Previously I used Access ODBCJDBC bridge, however it didn't work on Linux/Solaris platform. So Derby option looks better unless it requires too much efforts to install and setup.


Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42918
    
  68
My understanding is that the mechanics of the Derby/JavaDB installation changed between the various Java 1.6 dot releases, so it isn't trivial to rely on it being installed. You may be better off shipping it with your app, and using that copy. That will also allow you to run your app on Java 5 and Java 1.4.
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

Thanks, it makes sense, so I leave this idea until Sun/Apache works it better.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaDB getting started