BYJPOS Installation Steps

1 Install Java

    1. Login as root.

    2. Download the jre-6u16-linux-i586-rpm.bin self-extracting file from Sun's java download website (http://www.sun.com/java/).

    3. Make the file executable by opening a terminal window to the directory where it is saved, and typing:
    chmod +x jre-6u16-linux-i586-rpm.bin

     4. Execute the file by typing:
.    /jre-6u16-linux-i586-rpm.bin

     5. Update the list of possible java alternatives that your system can use by typing:
    update-alternatives --install /usr/bin/java java /usr/java/jre1.6.0_16/bin/java 300

      6. Then type the following command to view the list of java executables that your system can use:
    update-alternatives --config java

     7. Type the number corresponding to the JRE 1.6.0_16 java executable and hit Enter.

     8. To confirm that your system is using the JRE 1.6.0_16, type the following:
     java -version

2 Install Java Advanced Imaging (JAI)

    Java Advanced imaging (JAI) must be installed in order to use the JavaPOS. This is necessary for printing BMP files on the POSPrinter, and for the CheckScanner. This is not included

    with the JavaPOS installer.

    Please refer to following website for downloads and detailed installation instructions:

    http://java.sun.com/javase/technologies/desktop/media/jai/

    User : Install the Java Runtime Environment (JRE) version.

    Developers : Install the Java Development Environment (JDK) version.

   Copy the JAI to your Java directory:

               cp jai-1_1_3-lib-linux-i586-jre.bin /usr/java/jre1.6.0_16

   Execute the JAI installer:
              cd /usr/java/jre1.6.0_16
              chmod +x jai-1_1_3-lib-linux-i586-jre.bin
              ./jai-1_1_3-lib-linux-i586-jre.bin

    NOTICE: the version of JAI must be consistent with JDK.

3 Configure your environment

    1. Type the following at the command prompt to change to you home directory:
                cd $HOME

    2. Append the following lines to your “.bash_profile” file:
            JAVA_HOME=/usr/java/jre1.6.0_16
            PATH=$JAVA_HOME/bin/:$PATH
            export JAVA_HOME PATH

    3. Save the file.

    4. These settings will take effect next time you login.

    5. Logout and login again. Type the following command to confirm the java version:
            java –version

4 Installation:

  Step 1:Save Setup.bin  in a destination folder:

  Step 2:Run Setup.bin shown as below:

  

  Click "Next";

  

  Read the license agreement of JavaPOS installation carefully. If you accept it, please click "I accept the terms of eht License Agreement", click "Next";

  

  Click "Choose..." button and set the access of JavaPOS software to be installed, then click "Next" according to the interface prompt;

  

  Click "Install";

  

  Click "Done" then JavaPOS software is installed in users' computer.