My solution is to just have Netbeans on my flashdrive for the Windows PCs at my school:
http://portableapps.com/node/28772
(you will have to copy over your own jdk to the flash drive for Netbeans because of copyright stuff stopping them from releasing it with Netbeans.)
and the project files are cross platform so I don't have many problems with moving them over to my Ubuntu Laptop or the Teams one Ubuntu computer.