Chilkat for Java MAC OS X Install Instructions

1. Download

Download the binary distribution and extract to any directory.

Chilkat MAC OS X Java Downloads

The download contains the following files:

	chilkat.jar
	libchilkat.jnilib
	license.txt
	runTest.sh
	Test.java

2. Extract to any Directory

tar xzf chilkatJava-9.5.0-jdk7-macosx.tar.gz

or, if the .tar.gz was automatically decompressed to a .tar:

tar xf chilkatJava-9.5.0-jdk7-macosx.tar

3. Run Test.java to Verify it Works

Run runTest.sh to verify that Test.java can be compiled and run. The Test.java program simply verifies that the libchilkat.jnilib (a JNI dynamic library) can be loaded, that the Java class loader can load the Chilkat classes from the chilkat.jar, and that a Chilkat object can be instantiated.

./runTest.sh

Sample code is available at: Chilkat Java Examples.

4. Using System.load and System.loadLibrary to load a Native Shared Library

See: How to use System.loadLibrary to load a Java Native shared library (.jnilib) on MAC OS X

Note: To help resolve an UnsatisfiedLinkError Runtime Error, see How to Handle the UnsatisfiedLinkError Runtime Error in Java

5. classpath and using JAR archives

See: Java JAR Archives and classpath on MAC OS X

6. 30-Day Trial for Commercial Classes

Chilkat's commercially licensed Java classes are fully-functional for a 30-day trial period. The UnlockBundle method should be called once at the beginning of a program. (See the Unlocking Chilkat examples.) The trial period automatically begins when a non-valid unlock code is used.

Note: The Chilkat Java library contains both freeware and commercially-licensed classes. Each class is noted as freeware or commercial in the online reference documentation.