ePass 1000 Java JNI  Demo 

1. Overview

ePass1000 JNI interface for Win32 was developed with SUN JDK1.3. It includs several classes and a Win32 DLL. All classes are packed into EPASJNI package. 

ePass1000 JNI interface wraps all services that C API provides. ePass driver and ep1kdl20.dll is needed to use this interface. ePass1000 JNI interface includes the following files:
       CePass.class
       CHash.class
       ePassAPI.class
       ePassDef.class
       IePass.class
       IHash.class
       RTException.class
       WAccessInfo.class
       WDirInfo.class
       WFileInfo.class
       WSysInfo.class
       WVersionInfo.class
       JePsAI20.dll
   
2.Compile the sample

SUN JDK 1.3 is needed to compile this demo. And you also need copy all class files into epasjni sub-directory under your jdk\lib directory.

Run following command in Command Prompt Box:
      >set CLASSPATH=./;C:\JDK1.3\lib
      > javac ePsDemo.java

3.Launch the demo

Type following command in Command Prompt Box:

      > java  ePsDemo


[Notice]: This sample need to verify user authority when create a dir, please sure token's create authority is "Anyone"