

- Snappy compression sles install#
- Snappy compression sles update#
- Snappy compression sles Patch#
- Snappy compression sles code#
It works as a drop-in replacement for any copy of Snappy-Java that comes with the Java project.Įxample to test Snappy-Java 1.1.2.6 library:Ĭreate Test.java in target folder, compile and run Test.java as shown below : import .* It is used to add it to the class path of any Java project that uses the snappy compression engine (e.g. Note: The resulting JAR file can be found under snappy-java/target/ as snappy-java-1.1.2.6.jar. In case of RHEL6 and SLES11 another two libraries will be linked libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000003fffd4e6000) Issue this command to ensure that libsnappyjava.so is not linked against libstdc++.so and libgcc_s.so: ldd target/snappy-1.1.2-Linux-s390x/libsnappyjava.soĬheck dynamic library links as a results of above ldd command libm.so.6 => /lib64/libm.so.6 (0x000003fffd009000) This command will also run some unit tests to ensure that the JAR file works. Otherwise the build will try to continue with an incomplete source tree and it will keep failing. Note: In case of make command fails for any reason, first apply make clean and then restart make.

Snappy compression sles code#
Issue this command to checkout the source code for Snappy, build the C++ code as well as the Java classes, and use Scala SBT to package the binaries into a JAR file make IBM_JDK_7=1 USE_GIT=1 GIT_SNAPPY_BRANCH=master GIT_REPO_URL= Note: /etc/alternatives/java_sdk_ibm should be a symbolic link that points to the location where the IBM Java SDK is installed. RHEL/SLES: export JAVA_HOME=/etc/alternatives/java_sdk_ibm

See this article for more information: Adding RHEL Optional and Supplementary Repositories.Ĭheck out the Snappy-Java source code: git clone
Snappy compression sles install#
Note: On RHEL 7, you will need the RHEL Optional and Supplementary repositories set up in order to install the libstdc++-static and IBM JDK packages.
Snappy compression sles Patch#
Sudo apt-get install openjdk-8-jdk automake autoconf libtool pkg-config git wget tar make patch SLES 12: sudo zypper install automake autoconf libtool pkg-config gcc-c++ java-1_7_1-ibm java-1_7_1-ibm-devel git-core wget tar make patch

SLES 11 (SP3): sudo zypper install automake autoconf libtool pkg-config gcc-c++ java-1_7_0-ibm java-1_7_0-ibm-devel-1.7.0_sr9.10-9.1.s390x git-core wget tar make patch RHEL 6/RHEL 7: sudo yum install automake which autoconf libtool pkgconfig gcc-c++ libstdc++-static java-1.7.1-ibm java-1.7.1-ibm-devel git wget tar make patch The build instructions have been tested on RHEL 6, RHEL 7, SLES 11 SP3, SLES 12 and Ubuntu 16.04. The following build instructions are not necessary if you only want to use pre-built Snappy-Java binaries (available from Maven Central see above). When following the steps below please use a standard permission user unless otherwise specified.
Snappy compression sles update#
You may need to update the class path of the application, and potentially other meta-data used by the application to locate and load the JAR file. If you are running a Java application on Linux on z Systems that already bundles an older version of Snappy-Java, you can simply replace it with the Snappy-Java 1.1.2.6 JAR file from Maven Central. The latest release in Maven Central already contains support for Linux on z Systems. Snappy-Java is a library that provides Java bindings for the popular snappy compression engine from Google. Below versions of Snappy-Java are available in respective distributions at the time of this recipe creation:
