CO2 and Type Log Profile
Download Java Source to your PC

This web page are instructions to download the CO2_Profile Directory with all the files necessary in compiling and running the CO2 and Type Log Profile Application. You will first need to download a free Java Development Kit (JDK) from ORACLE Java, http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click on the "JDK" Download Button and follow directions. You will need to know what kind of computer operating system you are working on.

You will also need a Java Runtime Environment (JRE) on your PC to run the web app on your pc. Click on the "JRE" Download Button and follow directions. The same is true for the JRE, you will need to know what kind of computer operating system you are working on.

The CO2 and Type Log Profile Application software is bundled by 2 methods as a ZIP file and as a JAR File. Both will create the CO2_Profile directory with all the source files to build the CO2 and Type Log Profile Application. The Build.bat and Run.bat are designed for the Windows Environment, but it shows the procedure & source files for compiling and running the Java Application. If you use the script you will need to replace the calls "C:\jdk1.7.0_25\bin\" in the scripts to the JDK directory that you downloaded to your PC.


Directory Structure of CO2_Profile

/data - directory contains the lookup XML (Extensible Markup Language) files necessary for running the Application.
/lib - directory holds the JAR File.
/src - directory CO2 and Type Log Profile Source Files
/images - directory CO2 and Type Log Profile images

   Build.bat - Windows Batch file for compiling the CO2 and Type Log Profile Application.
   Run_TypeLog.bat - Windows Batch file for running the Type Log Profile Application
   Run_CO2.bat - Windows Batch file for running the CO2 Profile Application
   Manifest.txt - A required file needed in the JAR file to meet ORACLE-Java security requirements.
   Profile.txt - Contents of the CO2 and Type Log Profile JAR File.


REMEMBER to replace the "C:\jdk1.7.0_25\bin\" with the JDK directory path you downloaded to your PC in the Build.bat and Run.bat files.

Build.bat

This file will compile the CO2 and Type Log Profile Java Source code. In a Command Prompt window enter: Build > temp.txt. This will run the Build script and send all the steps to the temp.txt file. If any errors show you will be able to see it and open the temp.txt to find the error.

Only the contents of the CO2 and Type Log Profile JAR file, "Profile.txt" is left.

Run.bat

This file will run the CO2 and Type Log Profile Application on your PC. Just double click on the 'Run.bat' script.


Author: John R. Victorine jvictor@kgs.ku.edu

The URL for this page is http://www.kgs.ku.edu/PRS/Ozark/JAVA_SRC/CO2_Profile/download.html