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

Use OpenJDK10 #1794

Merged
merged 6 commits into from
Oct 22, 2018
Merged

Use OpenJDK10 #1794

merged 6 commits into from
Oct 22, 2018

Conversation

devinbileck
Copy link
Member

Oracle JDK10 is EOL and is no longer available for download. So switch to OpenJDK10 in Gradle builds.

Oracle JDK10 is EOL and is no longer available for download.
So switch to OpenJDK10 in Gradle builds.
Fix the following error:
  A problem was found with the configuration of task ':common:startScripts'.
  > No value has been specified for property 'mainClassName'.
@ManfredKarrer
Copy link
Member

Great thanks for working on that. I will wait for more review from @cbeams and @ripcurlx ...

Copy link
Member

@cbeams cbeams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NACK per inline comments; all fairly minor stuff. Thanks for putting this together, @devinbileck.

.travis.yml Show resolved Hide resolved
common/build.gradle Show resolved Hide resolved
plugins {
id 'java'
id 'maven'
id 'com.google.protobuf' version '0.8.5'
}

apply plugin: 'application'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops. That shouldn't have been added.

common/build.gradle Show resolved Hide resolved
group = 'network.bisq'
version = '-SNAPSHOT'

mainClassName = 'bisq.common'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't the name of a class. Assuming you remove the application plugin as suggested above, this should be removed too.

common/build.gradle Outdated Show resolved Hide resolved
@cbeams
Copy link
Member

cbeams commented Oct 21, 2018

LGTM from my side now, and I've approved the changes.

@ripcurlx
Copy link
Contributor

Thanks for the PR @devinbileck! I’ll test the client and release build on Monday if we need to do some additional changes because of the jar with modules config, but I guess our current workaround might fix this problem already.

@cyphersphinx86
Copy link

Nice footwork @devinbileck
I'm still a little puzzled on how the refered javafx version 11 seamlessly work with jdk version 10, but cool!!!

@devinbileck
Copy link
Member Author

Nice footwork @devinbileck

Thanks! :)

I'm still a little puzzled on how the refered javafx version 11 seamlessly work with jdk version 10, but cool!!!

As per https://github.com/javafxports/openjdk-jfx/blob/jfx-11/doc-files/release-notes-11.md#release-notes-for-javafx-11:

JavaFX 11 requires either JDK 10 (which must be an OpenJDK build) or JDK 11.

@ripcurlx ripcurlx self-requested a review October 22, 2018 07:45
@ripcurlx
Copy link
Contributor

ACK - I tested a release build and everything seems to work. I pushed the verification checksum of the new libraries to this branch. As GitHub seems to be having issues right now I'll wait until my commit will also show up here in the PR. @devinbileck Just one question: Why was it necessary to add the module-path to the configuration as we don't load libraries as java 9 modules within the app?

@ripcurlx ripcurlx merged commit 63a9435 into bisq-network:master Oct 22, 2018
@devinbileck devinbileck deleted the openjdk10 branch October 22, 2018 15:55
@devinbileck
Copy link
Member Author

Why was it necessary to add the module-path to the configuration as we don't load libraries as java 9 modules within the app?

@ripcurlx Good point, that may not be necessary. I was following the example from https://openjfx.io/openjfx-docs/#gradle and left that in. Shall I remove it?

@ManfredKarrer
Copy link
Member

@devinbileck Just tested the changes with installed openjdk. All works fine! Thanks a lot for your help!!!!

@ripcurlx
Copy link
Contributor

@devinbileck I'll do some checks tomorrow also try to get the checksum verification working again. Thanks for all your work!

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

Successfully merging this pull request may close these issues.

5 participants