NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Donna_P
Joined: 15 May 2012 Posts: 1
|
Posted: Tue May 15, 2012 11:38 am Post subject: Netbeans 7.1.2 IDE won't start - How do I disable file locking by passing "-Dosgi.locking=none" as a VM argument? |
|
|
Hi there,
I have recently installed 7.1.2 on my Lion Mac and for some reason when I try and run it as a Network user, the IDE won't open and the logs states:
Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument
Can anyone please tell me where I am supposed to disable the file locking? Is it in an ini file somewhere?
7.0.1 works fine but I had really hoped to have the latest version installed and working.
Any help would be greatly appreciated
Cheers, Donna |
|
| Back to top |
|
 |
Fabrizio Giudici Posted via mailing list.
|
Posted: Tue May 15, 2012 9:16 pm Post subject: Netbeans 7.1.2 IDE won't start - How do I disable file locking by passing "-Dosgi.locking=none" as a VM argument? |
|
|
On Tue, 15 May 2012 13:39:12 +0200, Donna_P <address-removed>
wrote:
| Quote: | Hi there,
I have recently installed 7.1.2 on my Lion Mac and for some reason when
I try and run it as a Network user, the IDE won't open and the logs
states:
Runtime Environment does not support file locking for that location.
Please choose a different location, or disable file locking by passing
"-Dosgi.locking=none" as a VM argument
Can anyone please tell me where I am supposed to disable the file
locking? Is it in an ini file somewhere?
7.0.1 works fine but I had really hoped to have the latest version
installed and working.
Any help would be greatly appreciated :)
Cheers, Donna
|
Options should be put in the netbeans.conf file that you can find under
the NetBeans installation. E.g.:
/Applications/NetBeans/NetBeans
7.1.2.app/Contents/Resources/NetBeans/etc/netbeans.conf
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
address-removed
http://tidalwave.it - http://fabriziogiudici.it |
|
| Back to top |
|
 |
Wade Chandler Posted via mailing list.
|
Posted: Fri Jun 01, 2012 8:43 pm Post subject: Netbeans 7.1.2 IDE won't start - How do I disable file locking by passing "-Dosgi.locking=none" as a VM argument? |
|
|
On 05/15/2012 05:15 PM, Fabrizio Giudici wrote:
| Quote: | On Tue, 15 May 2012 13:39:12 +0200, Donna_P
<address-removed> wrote:
| Quote: | Hi there,
I have recently installed 7.1.2 on my Lion Mac and for some reason
when I try and run it as a Network user, the IDE won't open and the
logs states:
Runtime Environment does not support file locking for that location.
Please choose a different location, or disable file locking by
passing "-Dosgi.locking=none" as a VM argument
Can anyone please tell me where I am supposed to disable the file
locking? Is it in an ini file somewhere?
7.0.1 works fine but I had really hoped to have the latest version
installed and working.
Any help would be greatly appreciated :)
Cheers, Donna
|
Options should be put in the netbeans.conf file that you can find
under the NetBeans installation. E.g.:
/Applications/NetBeans/NetBeans
7.1.2.app/Contents/Resources/NetBeans/etc/netbeans.conf
|
Too, notice the use of -J before JVM options. The -J means JVM option.
So, in this case, you would want to use -J-Dosgi.locking=none. You can
do this from the command line too when you need something one time.
Editing netbeans.conf will allow you to not need to pass special
parameters on the command line when you launch.
Wade
--
=================
Wade Chandler
Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member
wadechandler.com
netbeans.org |
|
| 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
|
|