Indeed, the GitHub documentation explains: The drawback as of today (June 2020 and revisited Dec 2022) is that one as to have authenticate to GitHub (via TOKEN) to even just have read access to a package from GitHub see this post. The JPL JAR artifact can also be satisfied/obtained directly from the GitHub Packaging system, without the need to go via JitPack. Prolog packages-jpl V8.3.2 įor example, the V8.3.2 version corresponds to a tag in the repo: The first step is to add the following repository to the POM’s application: JitPack will clone a Maven project from GitHub (in this case JPL’s repo), compile it, and serve the JAR artifacts. JitPack is a service that can serve maven artifacts by accessing GitHub repositores. One can then grab the latest JAR file from the packages section in JPL repo or even better add the JPL as a Maven dependency of the Java application by including two repositories: GitHub Packages or JitPack (recommended as no token-based authorization is needed). While the C Native library libjpl.so and Prolog API jpl.pl do not change much, the Java API provided in jpl.jar does tend to change and be updated more frequently to provide a better Prolog access from Java.īecause of this one may want to use a particular SWIPL standard install, like the latest 8.2.0 from the Ubuntu PPA, but use a more updated Java API jpl.jar that the one coming with such release. AdoptOpenJDK 11 (Hotspot), AdoptOpenJDK 11 (OpenJ9), and OracleJDK 13 (Hotspot) see here.On the other hand, errors have been reported when using: The new Java can be obtained from AdaptOpenJDK. However, others have reported success with OpenJDK 8 with OpenJ9 as JVM (using the Hotspot may yield a fatal error). The current guide/documentation has been produced using the Oracle Java SE 8. The changes are fairly complex but a good summary and explanation of impact can be found here Note there has been some changes in Licenses from Java SE 11. One can use Oracle JDK or OpenJDK check a comparison here. Next versions of JPL will probably use 1.8+ language features. The source version for JPL 7.6.1 is Java 1.7, so no advanced features like lambdas are used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |