When you start the JDK installer, somewhere at the start you can select the different components to install. Here you can also change the path; at the bottom for the JDK itself, but if you select JavaDB you can change its own path.
I reinstalled the JDK and made sure all the boxes that said "This feature will be installed to the hard disk" were checked.
I suppose it's a POSSIBILITY that it's been installed this whole time and I dunno how to access/use it.
My textbook gives instructions on where to find the JavaDB driver, and how to test an existing database from the source code supplied with the textbook.... but it also gives instructions on installation of other DBMS (get an installation CD, etc.). This leads me to believe that I need a DBMS running on my computer (which there isn't) to use the driver.
I don't think there's anything special to install. JavaDB is just Java classes that are part of standard Java 6, so if you have that you're good to go. Have you actually tried to use it?
It hs different modes to run it in, though. If you want to use its server mode -where it runs in its own process- you'll need to fire it up separately from the client application. But for embedded mode that's not necessary.
I have installed it using the JDK installer. On a clean system, I never got it to install the first time. After the initial install, I ran the installer again, and got it working. Something messed up with the installer.
I know this topic is a bit old(only 2 years old!) but, Im facing the same problem on my recent installation of Jdk 1.6. I dont see the JAVA_HOME/db folder anywhere after installing it.. What magic step have I forgotten(I did install all the modules in the jdk)
Could you guys let me know if you've figured this out? thanks much!
JavaDB is installed in a different folder by default, if I recall correctly C:\Program Files\Sun\JavaDB.
Joined: Oct 03, 2005
Thats right.. it *should* be there.. even this page says so.. but I cant find such an folder anywhere.. Also, I tried setting the JAVA_HOME variable in a command prompt and trying to run the Jdk installer from this command prompt.. Still no deal.. Oh well.. I tried, I think I'll do a manual install.. Thanks anyway!
It is true. I have just re-installed JDK 1.6.0 update 27 and NOTHING! No JavaDb or DB or whatever folder!!! I have also installed JDK v1.7.0 and THERE IS a db folder!!! And, on top of it, I have installed GlassFish v2.1.1 (separately) and THERE IS a javadb folder and guess what: Its content is very similar to that of JDK v1.7.0!!! And ... there is more... I have also installed GlassFish v3.1.1 (bundled with Java Platform Enterprise Edition Developer Kit 7) and there is a javadb folder with a very similar content, too. (No db folder in the jdk7 folder inside, though.)
So, in short, I think is a problem is JDK 1.6.0. It did not create any folder named db as JDK v1.7.0 did. Both GlassFish v2.1.1 and v3.1.1 have a javadb folder. In case the GlassFish server is bundled with Java EE, the included jdk folder does not contain any db folder (I does not make any sense to bundle Java DB twice).
As I use several versions of NetBeans I just registered the version in JDK v1.7.0 and worked with no problem. Nevertheless, the IDE itself in my case only works if the property named netbeans_jdkhome (in etc/netbeans.conf) points to JDK v1.6.0.
subject: JDK 6 and JavaDB or Apache Derby... How do I install?