Closed yogeshbidari closed 4 years ago
For anyone who crosses this issue:
You can do sbt stage
which creates the start script at ./target/universal/stage/bin/
. You can execute this script and provide parameters like -Dhttp.port=$PORT -no-version-check
. The -no-version-check
supresses the checking of the java version (which is buggy in sbt because 11 > 1.6 ).
I am facing similar issue as https://github.com/sbt/sbt-native-packager/issues/1145 Updated plugin sbt-native-packager version to 1.3.6, still the issue exist.
Actual behaviour
App LOG:
The java installation you have is not up to date requires at least version 1.6+, you have version 11.0.6
Please go to http://www.java.com/getjava/ and download a valid Java Runtime and install before running .
Information
rpm --version
)