[vtkusers] Problem with java example...

Manoj, Narinder (IE10) Manoj.Narinder at honeywell.com
Tue Jan 6 04:47:35 EST 2004


Hi ! I have some hiccups getting started with the samples. Consider the code
below.

import vtk.*;
public class Cone1 
{
  static { System.loadLibrary("C:\\Program
Files\\vtk42\\bin\\vtkCommonJava"); }

  // now the main program
  public static void main (String []args) { System.out.println("One"); }
}


When I comile the code I get this error on the first line: 
	package vtk does not exist

I have included the path to vtk\bin folder in my "PATH" and "CLASSPATH"
environment variables
Is there something else I need to do?

Manoj Johar




More information about the vtkusers mailing list