Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaDB getting started

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, it makes sense, so I leave this idea until Sun/Apache works it better.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic