Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling the Frocksdbjni Source Code

  1. Download the Frocksdbjni 5.17.2 source code.
    1
    wget https://github.com/dataArtisans/frocksdb/archive/v5.17.2-artisans-1.0.tar.gz
    
  2. Decompress the source code package.
    1
    tar -zxvf v5.17.2-artisans-1.0.tar.gz
    
  3. Go to the directory where the Frocksdbjni source code is located.
    1
    cd frocksdb-5.17.2-artisans-1.0
    
  4. Modify the Makefile file and change the value of DEBUG_LEVEL to 0.
    1. Open the file.
      1
      vi Makefile
      
    2. Press i to enter the insert mode and set DEBUG_LEVEL to 0.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Compile and package the code. After the compilation, you can find rocksdbjni-5.17.2-linux64.jar in the frocksdb-5.17.2-artisans-1.0/java/target directory.
    1
    make rocksdbjava -j8