I am trying to install play framework 2.0.1 on ubuntu 11. I have added the path to play in ubuntu, I have SUN JRE 1.6 configured (java/javac) and I have given read/write/execut
If you really want to run play in opt on your dev machine, you would probably want to chown /opt to yourself.
sudo chown yourself:yourself /opt
I don't believe this makes sense and has implications to other things in /opt and to the usual purpose of the /opt directory. Unlike typical web server environments, play has an embedded server (like nodejs). In addition, as noted before, there is a heck of a lot of file generation when you prepare a project to run. For development, I think it is always best install play in a directory you own by default like your home directory. In production, you would install and start everything as root making /opt a viable option. Also, in windows using directories requiring administrative access would require as much, if not more, unwise change. Play does not officially support windows in production mode.