Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling jython-standalone-2.7.1

Compiling jline-2.14.3.jar

For details, see Jline Porting Guide (CentOS & openEuler).

Compiling jffi-arm-Linux.jar

  1. Download jffi-1.2.15.tar.gz.
    1
    wget https://github.com/jnr/jffi/archive/jffi-1.2.15.tar.gz
    
  2. 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
    
  3. Compile the source code.
    1
    ant jar &&  mvn package
    
  4. 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.
    1
    cp dist/jffi-aarch64-Linux.jar jython-2.7.1/extlibs/jffi-arm-Linux.jar
    

Compiling jython-2.7.1

  1. Download the source code.
    1
    wget https://github.com/jythontools/jython/archive/v2.7.1.tar.gz
    
  2. Decompress the source package.
    1
    tar -xf v2.7.1.tar.gz
    
  3. 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.

    1
    cp jline-2.14.3.jar jython-2.7.1/extlibs/
    
  4. Compile the source code.
    1
    ant jar-standalone
    

    After the compilation is successful, the dist directory is generated.