Seeking help with latest master ...
Rony G. Flatscher
Rony.Flatscher at wu.ac.at
Tue Mar 31 16:51:40 UTC 2020
On 31.03.2020 18:20, Kevin Rushforth wrote:
> Check your JDK version and gradle version:
>
> $ java -version
> $ gradle -version
>
> If they look OK, you might try:
>
> $ rm -rf build
> $ gradle clean
>
> and then do a build.
Thank you, Kevin, unfortunately, it does not work out (it fails at "gradle clean"), using
adoptOpenjdk 11.0.6 release 10 and gradle 6.3.
Do I need a JDK > 11 to build ?
Here the log of the commands as suggested:
rony at rony-linux:~/dev/github/openjdk/jfx$ java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)
rony at rony-linux:~/dev/github/openjdk/jfx$ javac -version
javac 11.0.6
rony at rony-linux:~/dev/github/openjdk/jfx$ rm -rf build
rony at rony-linux:~/dev/github/openjdk/jfx$ gradle --stop
Stopping Daemon(s)
1 Daemon stopped
rony at rony-linux:~/dev/github/openjdk/jfx$ gradle clean
Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status for details
> Configure project :
gradle.gradleVersion: 6.3
OS_NAME: linux
OS_ARCH: amd64
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
java.runtime.version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
java version: 11.0.6
java build number: 10
jdk.runtime.version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
jdk version: 11.0.6
jdk build number: 10
minimum jdk version: 11
minimum jdk build number: 28
GCC version: gcc8.3.0-OL6.4+1.0
cmake version: 3.13.3
ninja version: 1.8.2
ant version: 1.10.5
HAS_JAVAFX_MODULES: false
STUB_RUNTIME: /usr/lib/jvm/java-11-openjdk-amd64
CONF: Debug
NUM_COMPILE_THREADS: 8
COMPILE_TARGETS: linux
COMPILE_FLAGS_FILES: buildSrc/linux.gradle
HUDSON_JOB_NAME: not_hudson
HUDSON_BUILD_NUMBER: 0000
PROMOTED_BUILD_NUMBER: 0
PRODUCT_NAME: OpenJFX
RELEASE_VERSION: 15
RELEASE_SUFFIX: -internal
RELEASE_VERSION_SHORT: 15-internal
RELEASE_VERSION_LONG: 15-internal+0-2020-03-31-184608
RELEASE_VERSION_PADDED: 15.0.0.0
MAVEN_VERSION: 15-internal+0-2020-03-31-184608
UPDATE_STUB_CACHE: false
Building Webkit configuration /Release/ into
/home/rony/dev/github/openjdk/jfx/modules/javafx.web/build/linux
module: project ':apps' (buildModule=NO)
module: project ':base' (buildModule=YES)
module: project ':controls' (buildModule=YES)
module: project ':fxml' (buildModule=YES)
module: project ':graphics' (buildModule=YES)
module: project ':media' (buildModule=YES)
module: project ':swing' (buildModule=YES)
module: project ':swt' (buildModule=NO)
module: project ':systemTests' (buildModule=NO)
module: project ':web' (buildModule=YES)
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/home/rony/dev/github/openjdk/jfx/build.gradle' line: 4176
* What went wrong:
A problem occurred evaluating root project 'jfx'.
> Could not resolve all dependencies for configuration ':apps:lucene'.
> Multiple build operations failed.
java.lang.ExceptionInInitializerError
java.lang.NoClassDefFoundError: Could not initialize class
sun.security.ssl.SSLContextImpl$TLSContext
java.lang.NoClassDefFoundError: Could not initialize class
sun.security.ssl.SSLContextImpl$TLSContext
> java.lang.ExceptionInInitializerError
> java.lang.NoClassDefFoundError: Could not initialize class
sun.security.ssl.SSLContextImpl$TLSContext
> java.lang.NoClassDefFoundError: Could not initialize class
sun.security.ssl.SSLContextImpl$TLSContext
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get
more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Build file '/home/rony/dev/github/openjdk/jfx/build.gradle' line: 1589
* What went wrong:
A problem occurred configuring root project 'jfx'.
> Failed to notify project evaluation listener.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
> Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
org.gradle.api.internal.tasks.DefaultTaskContainer.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get
more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
rony at rony-linux:~/dev/github/openjdk/jfx$
---rony
More information about the openjfx-dev
mailing list