NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans 7.1.2 IDE won't start - How do I disable file locking by passing "-Dosgi.locking=none" as a VM argument?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Donna_P



Joined: 15 May 2012
Posts: 1

PostPosted: 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? Reply with 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 Smile

Cheers, Donna
Back to top
Fabrizio Giudici
Posted via mailing list.





PostPosted: 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? Reply with 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


--
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.





PostPosted: 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? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo