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

Specify Java Platform version? #296

Open
rparree opened this issue Apr 11, 2014 · 2 comments
Open

Specify Java Platform version? #296

rparree opened this issue Apr 11, 2014 · 2 comments

Comments

@rparree
Copy link

rparree commented Apr 11, 2014

I am running idea with Java 8, but would like my project to use Java 7. I can't figure out how to do that. Changing the project to use JDK 7 does not work as it has to restart and then reimports the sbt project and sets all back to 1.8. (#147 is related)

@depend
Copy link

depend commented Dec 24, 2015

+1 here. SBT console doesn't respect scalacOptions and javacOptions in sbt.build file. If I run sbt in a terminal, the output version is correct. But if I run via SBT console inside IDEA, it always output as Java 8.

@ianknowles
Copy link

Still an issue. I've been trying to target JDK11 as Oracle's greed has meant only JDK11 or 8 are available via apt. So building a debian package with dependancies I only have 2 choices for target but the SBT plugin still ignores any version settings. I've set the project, every module, and the compiler settings in build.sbt but I can only get JDK11 target output by building in a shell.

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

3 participants