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 162716

Summary: cannot create project in My Documents folder
Product: apisupport Reporter: matusdekanek <matusdekanek>
Component: ProjectAssignee: rmichalsky <rmichalsky>
Status: CLOSED WONTFIX    
Severity: blocker Keywords: JDK_SPECIFIC
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description matusdekanek 2009-04-15 13:39:10 UTC
Product Version: NetBeans IDE Dev (Build 200904150201)
Java: 1.6.0_14-ea; Java HotSpot(TM) Client VM 14.0-b12
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

Try to create project in My Documents folder (winxp) - for some reason, new project dialog does not allow it, showing 
message 'location exists, but is not writeable' or 'project folder cannot be created', although there should be no 
problem like this (user has sufficient rights to do that).
Comment 1 matusdekanek 2009-04-15 13:39:40 UTC
Created attachment 80150 [details]
screenshot
Comment 2 Milos Kleint 2009-04-15 13:44:14 UTC
apisupport
Comment 3 rmichalsky 2009-04-15 15:25:00 UTC
Problem in JDK, File.canWrite() reports false on Windows system folders. An ugly workaround would be to actually try to
create and delete dummy file in specified location, but File.canWrite() is scattered through all types of projects. 

Will try to reopen JDK bug, if I ever get Bugster account...
Comment 4 Jesse Glick 2009-04-15 18:39:05 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819

claims this is only fixed in JDK 7.
Comment 5 rmichalsky 2009-04-16 08:52:16 UTC
I see, I didn't understand cryptic '7(b30)' tag, thanks.
Comment 6 Marian Mirilovic 2011-06-09 09:57:14 UTC
v/c