Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The bash script for Ubuntu doesn't seem to have include a given java-home #1601

Open
luukjansen opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@luukjansen
Copy link

Expected behaviour

When generating the debian package with "debian:packageBin" to have the $JAVA_HOME set when it is not the system default.
In build.sbt file I have:

    Universal / javaOptions ++= Seq(
      "-java-home /usr/lib/jvm/java-17-openjdk-amd64"
    )

Actual behaviour

No sign of the provided java home option, the system uses the system default.

Information

  • What sbt-native-packager are you using 1.9.16
  • What sbt version 1.9.8
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) MacOS
  • What package are you building (e.g. docker, rpm, ...) deb
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7) Ubuntu 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant