CO2 Density Viscosity Calculator
Download Java Source to your PC

This web page are instructions to download the CO2_Density Directory with all the files necessary in compiling and running the CO2 Density Viscosity Calculator 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 Density Viscosity Calculator Application software is bundled by 2 methods as a ZIP file and as a JAR File. Both will create the CO2_Density directory with all the source files to build the CO2 Density Viscosity Calculator 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_Density

/lib - directory holds the JAR File.
/src - directory CO2 Density Viscosity Calculator Source Files
/images - directory CO2 Density Viscosity Calculator images
/Reference - directory containing original paper for this web app

   Build.bat - Windows Batch file for compiling the CO2 Density Viscosity Calculator Application.
   Run.bat - Windows Batch file for running the CO2 Density Viscosity Calculator Application
   Manifest.txt - A required file needed in the JAR file to meet ORACLE-Java security requirements.
   CO2.txt - Contents of the CO2 Density Viscosity Calculator JAR File.
   HELP-CO2_Density.pdf - CO2 Density Viscosity Calculator Help PDF (Portable Document Format) 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 Density Viscosity Calculator 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 Density Viscosity Calculator JAR file, "CO2.txt" is left.

Run.bat

This file will run the CO2 Density Viscosity Calculator Application on your PC. Just double click on the 'Run.bat' script.

There is a PDF Help file: HELP-CO2_Density.pdf


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

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