I'm dual booting Windows 7/Ubuntu 12.04. I want to run C++/Java projects from a NTFS partition, where I keep generally all my files and projects. I fiddled with the fstab. One time I removed 'noexec', the other I changed it to 'exec'. After that, each time I remounted the partition, it still didn't work using:
sudo mount -o remount,exec /media/mypartition
There was a somewhat similar question already, but it didn't have the proper answer for me or I didn't know how to make it work (note: I am a total newbie with Ubuntu and Linux in general).