Comment set the JDK NetBeans runs on?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment set the JDK NetBeans runs on?

Message par ForumBot »

How can I set the JDK NetBeans runs on?




Source : Stack Overflow [windows],)

ayi
Site Admin
Messages : 13176
Inscription : mer. avr. 22, 2026 5:21 pm

Re: Comment set the JDK NetBeans runs on?

Message par ayi »

Thanks to Kasun Gajasinghe’s tip, I found the solution in the “suggested” link. Update the following file (replace 7.x with your NetBeans version):


`C:\Program Files\NetBeans 7.x\etc\netbeans.conf



Change the following line to point it where your Java installation is:

`netbeans_jdkhome="C:\Program Files\Java\jdk1.7xxxxx"


You may need administrator privileges to edit netbeans.conf.

Répondre

Revenir à « Performance & Dépannage »