Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Slightly different way of doing it for NetBeans 7.3 latest release (at least for Windows 7, 64-bit). Search your system for <em>netbeans.conf</em> (from explorer window) or go to its default install location:</p> <pre><code>C:\Program Files\NetBeans 7.3\etc\netbeans.conf </code></pre> <p>Look for <em>netbeans.conf</em> on Mac OS X:</p> <pre><code>find / -name "netbeans.conf" -print &amp; </code></pre> <p>Look for <em>netbeans.conf</em> in Linux:</p> <pre><code>sudo find / -name "netbeans.conf" 2&gt; /dev/null </code></pre> <hr> <p>Then edit the <em>netbeans.conf</em> file to replace the <em>userdir</em> line:</p> <pre><code>netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/7.3" </code></pre> <p>With your new projects directory/folder path:</p> <pre><code> netbeans_default_userdir="C:/APPS/netbeans/" </code></pre> <p>-OR-</p> <pre><code> netbeans_default_userdir="\Applicatons\netbeans\" </code></pre> <p>(NOTE: if you have trouble in Windows in a network managed security environment, you'll need admin access to make this change. Open the file using your editor's ".exe" directly by right-clicking the launcher file and clicking "Run as Administrator", I had to do this for Notepad++ because it said "Another application is using the file", but in fact it was just locked to non-admin users).</p> <p>This changes the default <a href="http://wiki.netbeans.org/FaqWhatIsUserdir" rel="noreferrer">userdir</a> which stores user-specific IDE settings, but not the default project folder/directory. Next, you need to open NetBeans IDE with the new IDE settings and start to create a new Java project (then cancel after second screen in project creation wizard). It will now create a new <strong>projectui.properties</strong> file in the <em>userdir</em> you set; this is the file that wasn't found before this workaround that you need to edit as per the other suggestions. Mine was located here after these changes:</p> <pre><code>C:\APPS\netbeans\config\Preferences\org\netbeans\modules </code></pre> <p>Finally, you've reached the finish line and can change the <strong>projectsFolder</strong> property value to the path you want, if you don't see a line for <strong>projectsFolder</strong> then simply type or paste one in at the bottom of the file to point to your path where you want NetBeans to store projects by default, such as:</p> <pre><code> projectsFolder=C:/APPS/projects/ </code></pre> <p>-OR-</p> <pre><code> projectsFolder=\Applicatons\projects\ </code></pre> <p>Wow, that's alot of settings changes but it finally works for me the way I wanted it to, being able to switch my IDE back and forth between a local workspace and a network workspace using my username space on the corporate LAN just by changing <strong>projectsFolder</strong> property value in the <strong>projectui.properties</strong> folder.</p> <p>NOTE: On Linux or Mac you might not need the first step of modifying <em>netbeans.conf</em> as the <strong>projectui.properties</strong> should be as follows (may vary by OS version): <em>$HOME/.netbeans/7.3/config/Preferences/org/netbeans/modules/projectui.properties</em></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload