-
Notifications
You must be signed in to change notification settings - Fork 11
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
Help building? #80
Comments
Hi @tedneward , What errors are you seeing?
I know there were some breaking changes in later versions of Java (I seem to recall JavaFX has been unbundled, for example). I should probably specify compatible JDK versions (or update the build instructions for current ones). |
I will take a spin at it using 8, then, before I start going down a rabbit hole (and leading others with me 😊 ).
Some of the errors seemed related to using the right version of Gradle, mostly version mismatches.
I was wondering if the Java9 module system was responsible for some of the breakage, but then I saw some other posts which seemed to imply that people had gotten it to build with more recent versions, which was finally what led me to just pop up and ask.
Thanks for the response!
From: Matt DeFano ***@***.***>
Sent: Wednesday, June 9, 2021 07:18
To: defano/wyldcard ***@***.***>
Cc: Ted Neward ***@***.***>; Mention ***@***.***>
Subject: Re: [defano/wyldcard] Help building? (#80)
Hi @tedneward <https://github.com/tedneward> ,
What errors are you seeing? gradlew build works for me using JDK 8:
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)
I know there were some breaking changes in later versions of Java (I seem to recall JavaFX has been unbundled, for example). I should probably specify compatible JDK versions (or update the build instructions for current ones).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#80 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAARJFKGZV5BWMEZWC4G2RDTR5ZZNANCNFSM46LIF2PQ> .
|
Just took another crack at it using JDK 8 (inside the Ubuntu environment in WSL, if that makes a difference--it shouldn't, though), and got these two errors: Could not determine the dependencies of task ':jar'.
This was from a fresh "git clone" of the project tonight. OpenJDK 1.8.0_242-b08. |
Oh, now, this is interesting--just did a clean build on a different machine, and it worked fine. Not sure what the difference is, but wanted to be clear that I got a good build. |
Any help appreciated. My goal is to run the app to create content on modern macOS. Just did a build on macOS Big Sur with JDK 8 (and also OpenJDK 16.0.1) using:
And get the following error:
|
Hi @gingerbeardman , those errors look to me like you're compiling with a version of Java newer than 8. I believe the I need to spend some time bringing the project up-to-date with the latest Java releases. Feel free to submit a PR with your changes if you get this cleaned up. :) |
Sadly not being into Java I have no idea what any of that means 😅 But I'll look into it |
Have had a go but no joy. |
Try this:
There's a bit more that needs to be updated than simply adding the |
Thanks! I get:
And so:
So I went with |
Interesting... Try using |
Awesome! Glad its working for you. |
Doing a straight "gradlew build" is running into some version mismatches--has this been built recently, and if so, with which version of the JDK and which version of Gradle? Were any changes to build.gradle required?
The text was updated successfully, but these errors were encountered: