NetBeans Portable
For all you coders out there, I have come across config file in the NetBeans Directory (\NetBeans\etc\netbeans.config). In there the important parts read as follows:
# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="[Your JVM user.home Path]"
# default location of J2SE JDK, can be overridden by using --jdkhome switch
netbeans_jdkhome="[Your JDK Path]"
Now here comes the important part: