The Essential JViews Framework > Getting Started with JViews Framework > Running the Example

To run a example file, do as follows:

We can begin with Sample1.java:

<installdir>/jviews-framework81/codefragments/getstart/Sample1.java
  1. Go to the getstart directory at the above path.
  2. Set the CLASSPATH variable to include the current directory, the ILOG JViews library: jviews-framework-all and the license file directory. On a Windows machine this will be:
set CLASSPATH=.;<installdir>/jviews-framework81/lib/jviews-framework-all.jar;<installdir>/jlm 
  1. Compile the Sample1.java file:
  2. javac Sample1.java
  3. Run the application:
  4. java Sample1