INSTALLATION    README            

UNIX/LINUX

To run as an Applet from within the browser or AppletViewer


1 Java SDK should be installed on the machine and the CLASSPATH should include the directory where all the unzipped files are stored.
2  Store the .java.policy in the Java root directory.  (Since the java applets are not secure by nature and cannot touch/modify/create files on the host computer from the browser. Creating Security policies allows the applets to do so from with in the browser.The applet uses a dynamic link library to
communicate with the sockets. This dynamic link library is created by compiling and linking all the c++ files into a shared library file by the name of libpimstring.so.)           
3)Open the file tyfile.html in  the  netscape browser or the Applet Viewer.The applet should be ready to run.


To run as an application

1) Java SDK should be installed on the machine and the CLASSPATH should include the directory where all the unzipped files are stored.
2)Run the command java ipetherframe.  The PIM packet generating tool should be up and running.


Building the binary from the source.

1)Install the g++ or any other C++ compiler.
2) Java SDK should be installed on the machine and the CLASSPATH should include the directory where all the unzipped source files are stored.
3)For running in the browser, the security policies .java.policy should be put in the /root directory.
4) This dynamic link library is created by compiling and linking all the c++ files into a shared library file by the name of libpimstring.so. The
library file should be stored in the environment variable such as LD_LIBRARY_PATH /usr/lib .
5)Look at the script provided myscript.  the script provided should generate the all the .class files and the shared library. and the PIM tool should
 be up and running.

WINDOWS
Due to Java Virtual Machine support now removed from the Microsoft site and the inconsistencies of various versions of
Java SDK in the creation of applets, the running of applets in the Microsoft Internet Explorer has not been much investigated.

The following would need to be done to run the applet in the internet explorer.
1)Download the latest version of Java Plugin obtained in the JRE.
2)Rename the policy file .java.policy as java.policy
3) While creating the compiled shared library rename the library as libpimstring.dll