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 248458 - Upgrading to JDK 8, userDir had to be deleted else Java DB could not be started
Summary: Upgrading to JDK 8, userDir had to be deleted else Java DB could not be started
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-06 12:00 UTC by chjan
Modified: 2015-02-15 21:34 UTC (History)
0 users

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 chjan 2014-11-06 12:00:25 UTC
Among several problems related to under-persistency and under-persistency of the UserDir, here is one very confusing bug:

When installing JDK8, it was no longer possible to start the Java DB from tab=services. In order to re-enable this feature, it was necessary to delete the user dir, a really hopeless way of doing things.

Suggested Remedy: Make sure all old data in the user dir is deleted, not only those related to the Java DB in this particular case.

TIP: I think a revison of the rules for putting thing in the userDir would be a good thing to do now. There are so many information elements that are leftovers (over-persistence) from previous NB versions or that is non-compliant with the latest JDK, or that....

Revise the whole set of rules, but be sure to remove old stuff that may prevent the future from happening.

CH
Comment 1 chjan 2014-11-06 12:19:24 UTC
Over-persistency: leftovers from previous releases
under-persistency: not taking user selections into account
Comment 2 matthias42 2015-02-15 21:34:30 UTC
I switch between OpenJDK7 and OpenJDK8 quite regularly and can't reproduce the problem. I'll close this as WORKSFORME.

Please try to reproduce your problem and give detailed steps to reproduce the problem + provide the messages and errors you are faced with. Thanks for checking!