[vtkusers] vtk.util.VtkUtil not found in vtk.jar

Jarek Sacha galicjan at yahoo.com
Tue Apr 22 09:59:02 EDT 2003


--- Chunyan Jiang <jiang at Telematik-Institut.de> wrote:
> Hi, vtk-user,
> I try to compile some vtk's examples in java. Many examples have "import
> vtk.util.VtkUtil;". This line can not pass compile. And I can not find
> vtkUtil in vtk.jar. How can I solve this problem? Thanks a lot!

I assume that you refer to Java VTK-Examples that are available from
http://ij-plugins.sf.net. vtk.util.VtkUtil if part of the download,
located in VTK-Examples/Wrapping/Java/vtk/util. You need to compile it and
add it to your classpath. Release 1.0 of VTK-Examples will have and CMake
and Ant build scripts, so compiling examples and dependencies will be
straightforward, it should be ready before end of May.

vtk.util.VtkUtil contains methods to retrieve content of environment
variables like VTK_DATA_ROOT, as recent versions of Java no longer support
direct access to environment variables.

Jarek

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



More information about the vtkusers mailing list