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

need help with JVM on Windows #53

Open
jfayre opened this issue Jun 2, 2024 · 5 comments
Open

need help with JVM on Windows #53

jfayre opened this issue Jun 2, 2024 · 5 comments

Comments

@jfayre
Copy link

jfayre commented Jun 2, 2024

Hello,
When I download a release, I get an error that it can't find a jvm when I try to launch it. What JVM do I need to install in order to test this?
Thanks!

@StefanLobbenmeier
Copy link
Owner

StefanLobbenmeier commented Jun 2, 2024

Hey 😄 if you download dmg, deb, exe or msi it should be included, otherwise for the .jar file currently JVM 21 is required. I am considering compiling to Java 8 bytecode though, then it should work with Java 8 upwards

@jfayre
Copy link
Author

jfayre commented Jun 2, 2024 via email

@StefanLobbenmeier
Copy link
Owner

oh weird, can you give more details on which Windows version you are using exactly? Mabye it is no longer supported by the latest java builds. Then you could try the .jar release, but I just noticed that it no longer contains all the necessary files, I will fix that right now and draft a new release to test.

@jfayre
Copy link
Author

jfayre commented Jun 2, 2024 via email

StefanLobbenmeier added a commit that referenced this issue Jun 2, 2024
See also #53

Java 11 is required for androidx (hard requirement for jetpack compose)
Java 17 is required for mpfilepicker (we could get away with lower here
maybe, but would require using another implementation for it)
@StefanLobbenmeier
Copy link
Owner

StefanLobbenmeier commented Jun 2, 2024

I cannot see anything about other people having issues with jpackage on Windows 23H2 and it is already 6 months since the release so surely everything should be stable there.

I just triggered a new release: https://github.com/StefanLobbenmeier/yt-dlp-compose/releases/tag/SNAPSHOT-33, could you try:

  1. Running the new .jar file and running it with the JDK that you have on your path
  2. Running the new .exe one more time to see if the last one was just a fluke. If it still fails please also share a screenshot of the error

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

2 participants