Compiling jython-standalone-2.7.1
Compiling jffi-arm-Linux.jar
- Download jffi-1.2.15.tar.gz.
1wget https://github.com/jnr/jffi/archive/jffi-1.2.15.tar.gz - Decompress the jffi-1.2.15 package and go to the directory generated after the decompression.
1 2
tar -xf jffi-1.2.15.tar.gz cd jffi-jffi-1.2.15
- Compile the source code.
1ant 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.1/extlibs directory.
1cp dist/jffi-aarch64-Linux.jar jython-2.7.1/extlibs/jffi-arm-Linux.jar
Compiling jython-2.7.1
- Download the source code.
1wget https://github.com/jythontools/jython/archive/v2.7.1.tar.gz - Decompress the source package.
1tar -xf v2.7.1.tar.gz
- Go to the directory where the Jython source package is decompressed.
1 2
mv frozen-mirror-2.7.1 jython-2.7.1 cd jython-2.7.1
Copy the jline-2.14.3.jar file generated in Compiling jline-2.14.3.jar to the extlibs directory of jython-2.7.1.
1cp jline-2.14.3.jar jython-2.7.1/extlibs/
- Compile the source code.
1ant jar-standaloneAfter the compilation is successful, the dist directory is generated.
Parent topic: Compiling Jython