Quick Tip 2: NetBeans on USB stick
Here’s a quick tip from our XING group. If you want to have a protable version of NetBeans to run it from a USB stick, download the “OS-independent.zip” distribution. Unpack it on your usb stick and open /etc/netbeans.conf in a text editor.
Change this:
# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir=”${HOME}/.netbeans/6.5rc2″
To something like:
netbeans_default_userdir=”X:/.netbeans/6.5rc2″
assuming X is your USB sticks drive name. You’ll also need to set the path to the JDK here:
# Default location of JDK, can be overridden by using –jdkhome <dir>:
#netbeans_jdkhome=”/path/to/jdk”
e.g.
netbeans_jdkhome=”X:/jdk”
Thanks to Jens Brunken for this tip.



Hi Toni,
This is great! Please add this as a Tips and Tricks entry to the NB Community Docs wiki.
Thanks a lot,
–James Branam
Comment by James Branam
— 9. December 2008 @ 11:36