Compiling jython-standalone-2.7.0
Compiling jffi-arm-Linux.jar
- Download jffi-1.2.19.tar.gz.
1wget https://github.com/jnr/jffi/archive/jffi-1.2.19.tar.gz - Decompress jffi-1.2.19.tar.gz.
1 2
tar -xf jffi-1.2.19.tar.gz cd jffi-jffi-1.2.19
- Compile the source code.
1ant jar && ant archive-platform-jar && mvn package
- After the compilation is successful, use jffi-aarch64-Linux.jar in the dist directory to replace jffi-arm-Linux.jar in the jython-2.7.0/extlibs directory.
1cp jffi-aarch64-Linux.jar jython-2.7.0/extlibs/jffi-arm-Linux.jar
Compiling jython-2.7.0
- Download the source code.
1wget https://github.com/jythontools/jython/archive/v2.7.0.tar.gz - Decompress the source package.
1tar -xf v2.7.0.tar.gz
- Go to the directory where the Jython source package is decompressed.
1 2
mv frozen-mirror-2.7.0 jython-2.7.0 cd jython-2.7.0
Copy the jline-2.12.1.jar file generated in Compiling jline-2.12.1.jar to the extlibs directory of jython-2.7.0.
1cp jline-2.12.1.jar jython-2.7.0/extlibs/
- Compile the source code.
1ant jar-standaloneAfter the compilation is successful, the dist directory is generated.
If jython-2.7.0 fails to be compiled for the first time, run the ant jar-standalone command again. The compilation is successful.
Parent topic: Compiling Jython