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
Will JPL work with OpenJDK 17? The Wiki calls for Java 11. I'm also confused about JPL and SWI Prolog versions. A github issue seems to suggest that JPL works with SWI 8.3.8, but the latest (?) SWI doc calls JPL a package for SWI 7.x. Can anyone straighten me out on this?
The text was updated successfully, but these errors were encountered:
Yes; JPL7 (the current, bundled version of JPL) interfaces to any compliant JVM from Java 8 onwards (see below).
Its jpl.c uses the JVM's Invocation API, which must be supported by all JVMs.
Its class files (in jpl.jar) are currently built to bytecode version 52, i.e. Java 8, and will not work with earlier JVMs, but (thanks to Java's traditional backwards bytecode compatibility) should work with any future JVM version.
Note to JPL maintainers: avoid "modernising" the source code without compelling reason, or otherwise building it to be incompatible with older JVMs; Java 8 will be around for a while yet, if not indefinitely...
NB JPL7 is a rewrite of JPL 3.x.x necessitated by breaking changes to the term model in SWI-Prolog 7
Will JPL work with OpenJDK 17? The Wiki calls for Java 11. I'm also confused about JPL and SWI Prolog versions. A github issue seems to suggest that JPL works with SWI 8.3.8, but the latest (?) SWI doc calls JPL a package for SWI 7.x. Can anyone straighten me out on this?
The text was updated successfully, but these errors were encountered: