You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,34 +27,33 @@ This is the core Java component of the DataSketches library. It contains all of
27
27
28
28
This component is also a dependency of other components of the library that create adaptors for target systems, such as the [Apache Pig adaptor](https://github.com/apache/datasketches-pig), the [Apache Hive adaptor](https://github.com/apache/datasketches-hive), and others.
29
29
30
-
Note that we have a parallel core component for C++, Python and GO implementations of many of the same sketch algorithms,
31
-
[datasketches-cpp](https://github.com/apache/datasketches-cpp), [datasketches-python](https://github.com/apache/datasketches-python), and
Please visit the main [DataSketches website](https://datasketches.apache.org) for more information.
35
37
36
38
If you are interested in making contributions to this site please see our [Community](https://datasketches.apache.org/docs/Community/) page for how to contact us.
37
39
38
-
---
39
40
40
41
## Build & Runtime Dependencies
41
42
42
43
### Installation Directory Path
43
44
**NOTE:** This component accesses resource files for testing. As a result, the directory elements of the full absolute path of the target installation directory must qualify as Java identifiers. In other words, the directory elements must not have any space characters (or non-Java identifier characters) in any of the path elements. This is required by the Oracle Java Specification in order to ensure location-independent access to resources: [See Oracle Location-Independent Access to Resources](https://docs.oracle.com/javase/8/docs/technotes/guides/lang/resources.html)
44
45
45
-
### OpenJDK Version 24
46
-
An OpenJDK-compatible build of Java 24, provided by one of the Open-Source JVM providers, such as Azul Systems, Red Hat, SAP, Eclipse Temurin, etc, is required.
47
-
All of the testing of this release has been performed with an Eclipse Temurin build.
48
-
49
-
This release uses the new Java Foreign Function & Memory (FFM) features that were made part of the Java Language in in Java 22.
46
+
### OpenJDK Version 25
47
+
At minimum, an OpenJDK-compatible build of Java 25, provided by one of the Open-Source JVM providers, such as *Azul Systems*, *Red Hat*, *SAP*, *Eclipse Temurin*, etc, is required.
48
+
All of the testing of this release has been performed with the *Eclipse Temurin* build.
50
49
51
50
## Compilation and Test using Maven
52
51
This DataSketches component is structured as a Maven project and Maven is the recommended tool for compile and test.
53
52
54
53
#### A Toolchain is required
55
54
56
-
* You must have a JDK type toolchain defined in location *~/.m2/toolchains.xml* that specifies where to find a locally installed OpenJDK-compatible version 24.
57
-
* Your default \$JAVA\_HOME compiler must be OpenJDK compatible, specified in the toolchain, and may be a version greater than 24. Note that if your \$JAVA\_HOME is set to a Java version greater than 24, Maven will automatically use the Java 24 version specified in the toolchain instead. The included pom.xml specifies the necessary JVM flags, so no further action should be required.
55
+
* You must have a JDK type toolchain defined in location *~/.m2/toolchains.xml* that specifies where to find a locally installed OpenJDK-compatible version 25.
56
+
* Your default \$JAVA\_HOME compiler must be OpenJDK compatible, specified in the toolchain, and may be a version greater than 25. Note that if your \$JAVA\_HOME is set to a Java version greater than 25, Maven will automatically use the Java 25 version specified in the toolchain instead. The pom.xml specifies any necessary JVM flags, if required, so no further action is needed.
58
57
* Note that the paths specified in the toolchain must be fully qualified direct paths to the OpenJDK version locations. Using environment variables will not work.
59
58
60
59
#### To run normal unit tests:
@@ -79,3 +78,7 @@ This will create the following jars:
79
78
80
79
* Make sure you configure SpotBugs with the /tools/FindBugsExcludeFilter.xml file. Otherwise, you may get a lot of false positive or low risk issues that we have examined and eliminated with this exclusion file.
81
80
81
+
### Checkstyle
82
+
83
+
* At the time of this writing, Checkstyle had not been upgraded to handle Java 25 features.
0 commit comments