[Java 2.5.9] Standalone deployment : No java installation was detected.

105 views
Skip to first unread message

Aurélien Panhaleux

unread,
Nov 29, 2016, 5:09:47 AM11/29/16
to Play Framework
Just trying to run a standalone version on a test server.
When I run the ./bin/project I have this error :
No java installation was detected.

Yet I can run java command, java -version gives : 
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)


I have defined JAVA_HOME properly.
I have tried with -java-home argument.

What could be wrong ?

Hannah J Swystun

unread,
Nov 29, 2016, 9:04:00 AM11/29/16
to Play Framework

Hello,
Try to add this in your toot project folder such as :

Aurélien Panhaleux

unread,
Nov 29, 2016, 11:03:47 AM11/29/16
to Play Framework
Thanks @Hannah, will try this out.
Otherwise, wrapping -java-home value with quotes solved the issue too :)
Reply all
Reply to author
Forward
0 new messages