I have a very old linux system and installed java and play framework. When I run java I get:
java -version Error occurred during initialization of VM Could n
In Play 2.2 and Java 7, this is what I used.
$ target/universal/stage/bin/foo -mem 256 -J-server
For the detail of -mem, please see:
$ target/universal/stage/bin/foo -h