This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 116964 - javadb not found by default because of old path
Summary: javadb not found by default because of old path
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-27 16:39 UTC by thealchemist
Modified: 2007-10-25 20:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thealchemist 2007-09-27 16:39:57 UTC
If you install Netbeans 6.0 beta 1 with the defaults, JavaDB is not found by default.

If you go to:
Tools->Java DB Database->Settings

...the default installation path is: C:\Sun\AppServer\javadb

However, Netbeans installs JavaDB as part of glassfish into C:\Program Files\glassfish-v2-b58g\javadb by default.
Comment 1 Andrei Badea 2007-10-25 12:46:13 UTC
Did you import an existing userdir into beta 1, or did you just use a new userdir? If the latter, is the issue always
reproducible? Try removing both C:\Documents and Settings\<user>\.netbeans and the installation directory and install
beta 1 again. Do you get the same directory in Tools - Java DB Database - Settings? Thanks.
Comment 2 thealchemist 2007-10-25 20:07:00 UTC
Since Beta 2 just came out, I installed it after deleting my userdir, like you said, abadea.

With Beta 2, the default DB directory was "C:\Program Files\Java\jdk1.6.0_01\db", basically the JDK I specified during
installation.  This works fine because Java6 comes with Derby.  Not sure what will happen if I'm using Netbeans with
Java5, though, but I'm changing this bug to FIXED.

Thanks abadea!