Verifying the Installation

There are several things you can do to verify your installation, and ensure that KVLite is running:

  • Start another shell and run:

    jps -m

    The output should show KVLite (and possibly other things as well, depending on what you have running on your machine).

  • Run the kvclient test application:

    1. cd KVHOME

    2. java -Xmx64m -Xms64m -jar lib/kvclient.jar

    This should write the release to stdout:

    12cR1.M.N.O...
  • Download the examples package and unpack it so that the examples directory is in KVHOME. You can obtain the examples package from the same place as you obtained your server download package.

  • Compile and run the example program:

    1. cd KVHOME

    2. Compile the example:

      javac -g -cp lib/kvclient.jar:examples examples/hello/*.java
    3. Run the example using all default parameters:

      java -Xmx64m -Xms64m \
      -Doracle.kv.security=<KVROOT>/security/user.security \
      -cp lib/kvclient.jar:examples hello.HelloBigDataWorld

      Or run it using non-default parameters, if you started KVLite using non-default values:

      java -Xmx64m -Xms64m \
      -cp lib/kvclient.jar:examples hello.HelloBigDataWorld \
          -host <hostname> -port <hostport> -store <kvstore name>