I know, that this problem has many times been discussed, but I stuck with it on Windows 7. When I add -J-Duser.language=en -J-Duser.region=US to netbeans.conf using notepad i get following allert:

After I restart my computer I get the same alert when modifying netbeans.conf. There is no process could use it launched.
How can I solve my problem?
This is taken from Tao's Sun Blog.
Launch notepad or WordPad as an administrator, use that to open the file, and then make the change. You won't need to move the file this way.
Permanent Solution
Go to Netbeans installation directory, for example,
C:\\Program Files\\NetBeans 6.0.1\\etc
Open netbeans.conf and find NetBeans default option line
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m \
-J-XX:MaxPermSize=200m -J-Xverify:none \
-J-Dapple.laf.useScreenMenuBar=true"
Add -J-Duser.language=en -J-Duser.region=US to the end of this line
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m \
-J-XX:MaxPermSize=200m -J-Xverify:none \
-J-Dapple.laf.useScreenMenuBar=true -J-Duser.language=en \
-J-Duser.region=US"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With