View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000288 | VTK | (No Category) | public | 2003-10-17 14:26 | 2006-12-13 17:35 | ||||
Reporter | David MacKinnon | ||||||||
Assigned To | Mathieu Malaterre | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000288: vtkRenderingJava.dll exception in Java SDK 1.4.1 | ||||||||
Description | When running the following test code: import vtk.*; public class VTKtest { static { System.loadLibrary("vtkCommonJava"); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); System.loadLibrary("vtkImagingJava"); System.loadLibrary("vtkGraphicsJava"); // Adding this line causes exception System.loadLibrary("vtkRenderingJava"); } public static void main (String[] args) { System.out.println("Libraries loaded"); } } The following exception is generated: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\vtk4 2\bin\vtkRenderingJava.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at VTKtest.<clinit>(VTKtest.java:13) The exception was generated using Java SDK 1.4.1_05. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0000435) Shyam Prakash R K (reporter) 2003-12-30 01:23 |
I don't think this is a bug. Make sure you have jawt.dll is in the system path which can be found at <JAVA_INATLL_DIR>/jre/bin. Also, if you have built vtk yoursef, then it is possible that some of the libraries are linked dynamically. In that case you should have foloowing dll's in the path as well MSVCIRTD.DLL MSVCP60D.DLL MSVCRTD.DLL (I am assuming you mave built VTK using MSVisualStudio 6.0) --Shyam |
(0005968) Mathieu Malaterre (developer) 2006-12-13 17:35 |
Not a bug, but a user error. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |