Cross Section Viewer
Download Java Source to your PC

Work is partially supported by the U.S. Department of Energy (DOE) National Energy Technology Laboratory (NETL) under Grant Number DE-FE0002056.

Download CROSS_SECTION_VIEWER Directory with all the files necessary in compiling and running the Cross Section Viewer 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 Cross Section Viewer Application software is bundled by 2 methods as a ZIP file and as a JAR File. Both will create the CROSS_SECTION_VIEWER directory with all the files and source to build the Cross Section Viewer 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 CROSS_SECTION_VIEWER

README-First.txt - Read Me File explaining the Build process.

/data - directory contains the lookup XML (Extensible Markup Language) files necessary for running the Application.
/lib - directory holds the JAR File.
/src - directory Cross Section Viewer Source Files
/images - directory Cross Section Viewer images

   Build.bat - Windows Batch file for compiling the Cross Section Viewer Application.
   Run.bat - Windows Batch file for running the Cross Section Viewer Application
   Manifest_XSection.txt - A required file needed in the JAR file to meet ORACLE-Java security requirements.
   CrossSection.txt - Contents of the Cross Section Viewer JAR File.
   HELP-GEMINI_Tools-XSection.pdf - Cross Section Viewer 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 Cross Section Viewer 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 Cross Section Viewer JAR file, "CrossSection.txt" is left.

Run.bat

This file will run the Cross Section Viewer Application on your PC. Just double click on the 'Run.bat' script.

There is a PDF Help file: HELP-GEMINI_Tools-XSection.pdf


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

The URL for this page is http://www.kgs.ku.edu/stratigraphic/JAVA_SRC/XSECTION/download.html