-
Notifications
You must be signed in to change notification settings - Fork 32
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
Error when using latest JDK on java 1.8 on Windows #68
Comments
To give some context, i'm compiling a play framework project that have assets in CoffeeScript that needs to be compiled in JavaScript and some Less files that needs to be compiled in CSS. addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.2") Looks like both are using sbt-js-engine and both are giving errors at compilation with the new JDK versions. |
I can also confirm that the error occurs when compiling with I am using Amazon Corretto. |
It still doesn't work with |
According to https://stackoverflow.com/a/58484737, setting See Runtime.exec and ProcessBuilder Argument Restrictions in https://www.oracle.com/technetwork/java/javase/8u231-relnotes-5592812.html. I'm not a security expert but this workaround can lead to security problems. |
For some reason, editing javaOptions in |
I was facing the same problem when i was trying to run my play 2.2.3 application via |
When trying to use sbt-js-engine with the latest JDK from oracle (SE 8u231) or the openJDK (1.8.0_232-2), an error occur at the compilation.
Here are my logs.
I have not tested it with java 11 or java 12. But by downgrading the JDK to openJDK 1.8.0_212-1 it does compile perfectly again.
The text was updated successfully, but these errors were encountered: