Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes JavaDB getting started Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "JavaDB getting started" Watch "JavaDB getting started" New topic
Author

JavaDB getting started

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
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.


Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | Co-author of "Windows programming in Turbo Pascal"
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35437
    
    9
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.


Android appsImageJ pluginsJava web charts
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
Thanks, it makes sense, so I leave this idea until Sun/Apache works it better.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JavaDB getting started
 
Similar Threads
Does java world has something like c sqllite
How do I connect to toursdb of Derby database using ij in Ubuntu!
how to create dynamic installation or exe/setup file?
Alternative to Database
Java EE: getting started under Ubuntu