On Sun, 8 Dec 2024 at 22:36, Jean-Marc Borer <jmbo...@gmail.com> wrote:
> Any progress? Thinking to buy a M3. So I am interested in your feedback.
>
> > On Tue, Nov 12, 2024 at 4:23 PM Jeremy Cavanagh
> > <jeremy.cavan...@protonmail.com.invalid> wrote:
> >
> >> I have come across a
> >> problem which some of you may have already seen. I can't set jdk_home in
> >> netbeans.conf the security system in the new mac silicon won't let me,
> >> and using sudo doesn't work either. Any suggestions?

You can't edit anything inside the .app itself without breaking the
signing.  Personally, I'd recommend using the community installers,
which have a bundled JDK all signed together
https://www.codelerity.com/netbeans/ , and register other JDKs
separately for projects where you need them.  Or use the zip bundle
for full flexibility on which JDK you run the IDE.

However, you can also copy the netbeans.conf into your userdir and
edit it there instead.

cd ~/Library/Application\ Support/NetBeans/23/
mkdir etc
cp /Applications/Apache\
NetBeans.app/Contents/Resources/netbeans/etc/netbeans.conf ./etc/
<INSERT_CHOICE_OF_EDITOR> etc/netbeans.conf

Then launch NetBeans as normal.

The same principle works on all OS where the IDE install location is
(effectively) read-only.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to