JDK 6 and JavaDB or Apache Derby... How do I install?
posted 16 years ago
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
Can anyone tell me how to unpack and install the "JavaDB" that comes with JDK6?
All the Sun links are outdated and send me to the Apache Website.
It says everywhere that Java 6 includes JavaDB (what was called Apache Derby), but no one tells me where I can install it.
Thanks,
Janeice
All the Sun links are outdated and send me to the Apache Website.
It says everywhere that Java 6 includes JavaDB (what was called Apache Derby), but no one tells me where I can install it.
Thanks,
Janeice
When you do things right, people won't be sure you've done anything at all.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Thanks!
I'll try rerunning the installer.
I'll try rerunning the installer.

When you do things right, people won't be sure you've done anything at all.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
No dice, Rob Prime.
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.
Thanks for helping me out,
Janeice
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.
Thanks for helping me out,
Janeice
When you do things right, people won't be sure you've done anything at all.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
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.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
It wasn't there. I had to go to the Sun website and install it separately. I don't know why.
There was no Java\db\lib folder. I installed the JavaDB separately and it created a Sun\JavaDB folder.
I just thought it was supposed to come with the JDK.
Janeice
There was no Java\db\lib folder. I installed the JavaDB separately and it created a Sun\JavaDB folder.
I just thought it was supposed to come with the JDK.
Janeice
When you do things right, people won't be sure you've done anything at all.
Ulf Dittmer
Rancher
Posts: 43081
77
posted 16 years ago
That was my understanding too. At least, that's how I interpret this page.
I actually prefer the standalone version from Apache, since it always takes some time before its enhancements find their way back into Sun's version.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I just thought it was supposed to come with the JDK.
That was my understanding too. At least, that's how I interpret this page.
I actually prefer the standalone version from Apache, since it always takes some time before its enhancements find their way back into Sun's version.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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!
Could you guys let me know if you've figured this out? thanks much!
Cheers!
Jenn SCJP1.5
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
JavaDB is installed in a different folder by default, if I recall correctly C:\Program Files\Sun\JavaDB.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Jenna Thomas
Ranch Hand
Posts: 31
1
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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!
Cheers!
Jenn SCJP1.5
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
George
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.
George
| My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |












