Replies: 6 comments
-
While I don't know what the root cause(s) might be in your case, I can confirm that Play works fine with Java 17 in my case: |
Beta Was this translation helpful? Give feedback.
-
In case you tried Java 18 and afterwards Java 17, did you remove the |
Beta Was this translation helpful? Give feedback.
-
Exactly my problem I dont even know where to begin !!! |
Beta Was this translation helpful? Give feedback.
-
I fixed it by force using Java 11. brew install openjdk@11 And run setting the sbt run --java-home "/opt/homebrew/Cellar/openjdk@11/11.0.16.1_1" |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply....and that's the exact solution that works for me I
had to uninstall my jdk17 and replace with 11
…On Sun, Nov 27, 2022, 10:33 AM Mike Reiche ***@***.***> wrote:
I fixed it by force using Java 11.
I installed Java 11 using brew (on MacOS)
brew install ***@***.***
And run setting the JAVA_HOME explicitly (environment variable is not
supported for some reason).
sbt run --java-home ***@***.***/11.0.16.1_1"
—
Reply to this email directly, view it on GitHub
<#11394 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOXML5PVFUENY7IKAIWBKYLWKMTHPANCNFSM57ACXYDQ>
.
You are receiving this because you commented.Message ID:
<playframework/playframework/repo-discussions/11394/comments/4245936@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I just want to say that I ran into the same error with a simple Play 2.8.18 project on Java 17 with a fresh build. The error does not happen on Java 8 or 11. |
Beta Was this translation helpful? Give feedback.
-
Hi
I try to decide if I should learn play framework or not. I started with Hello World project but It did not work on windows 10. It said me that Java 18 is too new for Play and I downloaded Java 17 although others are waiting to upgrade Java 19. Unfortunately Hello World did not work with Java 17 and I tried to create new project following the tutorial on playframework.com. I tried Create a Play Java or Scala project using sbt new. And It did not work. I never see a framework that hello world project would cause problem for the ones who are new and ready to find something else. This is the problem when I go on http://localhost:9000/
Beta Was this translation helpful? Give feedback.
All reactions