Installing the Native Client

<!– Copyright © VMware, Inc. 2022. All rights reserved. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. –>

Install the native client by extracting the contents of a ZIP file and setting up the environment.

Installation Prerequisites

Before installing the GemFire native client, complete the following prerequisites:

Uncompress the ZIP File

Uncompress the ZIP file. For example:

unzip pivotal-gemfire-nativeclient-linux-64bit-9.x.y.zip

The directory created is the product-dir used in setting environment variables.

Environment Variables

Set the environment:

  • Set the GFCPP environment variable to product-dir.
  • Add $GFCPP/bin to the PATH.
  • Add $GFCPP/lib to the LD_LIBRARY_PATH.

For example, on Linux or Solaris:

export GFCPP=product-dir
export PATH=$PATH:$GFCPP/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GFCPP/lib

Similarly, on Windows:

set GFCPP=product-dir
set PATH=%PATH%;%GFCPP%\bin
set LD_LIBRARY_PATH=%LD_LIBRARY_PATH%;%GFCPP%\lib