NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
dkeefe
Joined: 27 Aug 2010 Posts: 1
|
Posted: Fri Aug 27, 2010 5:18 pm Post subject: Directory permission for embedded Derby DB in a java app |
|
|
This is a very frustrating issue. I created a java app with an embedded Derby DB for WIndows Vista. I have no issues when bringing up the App via Netbeans.
HOWEVER, after I created an installation package and installed it, the Derby DB can not open the *.lck file. As a result it is opened in a Read-Only mode, i.e. I can not insert data into the DB.
I am sure that this is a permission problem related to directory perm as it relates to WIndows.
I think I have to set permissions when I open the java App but am not sure of the steps as I am not that familiar with WIndows. Again I have no problems when I run the App from NetBeans. I also do not have problems if I bring up the run command and cd into the App home directory and run the command > java -jar MyApp.jar |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|