I’ve just installed play-2.0 and keep getting the following error when I try run any of the sample apps:
IOException: Cannot run program "javac": java.io.IOException: error=2, No such file or directory
I’ve tried on ubuntu 11.10 installing play via the typesafe stack and on crunchbang 10 by downloading the zip from the website. Both times I get the same error?
What am I missing?
First of all, the primary requirement for Play 2.0 is JDK 6 or later, according to the framework’s documentation.
Then, you also need to ensure that
javaccan be found within the current path. I got the same error as you before I added the directory containingjavacto path.