For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Samples initialisation crashes

Anonymous's picture
Forums: 

I installed the CASCADE samples on Windows 95. When i click on the runme.bat i get the following crash message :

C:\CASCADESamples\java>java -classpath .;CascaDESamples.jar SamplesStarter java -classpath .;CascaDESamples.jar SamplesStarter

java.lang.UnsatisfiedLinkError: C:\CASCADESamples\java\SampleGeometryJni.dll: One of the library files needed to run this application cannot be found

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Compiled Code)

at java.lang.ClassLoader.loadLibrary(Compiled Code)

at java.lang.Runtime.loadLibrary0(Runtime.java:470)

at java.lang.System.loadLibrary(System.java:745)

at SampleGeometryJni.SampleGeometryPackage.(SampleGeometryPackage.java:46)

at SampleGeometryPanel.createViewPanel(SampleGeometryPanel.java:158)

at SamplePanel.jbInit(SamplePanel.java:58)

at SamplePanel.(SamplePanel.java:34)

at SamplePanel.(SamplePanel.java:26)

at SampleGeometryPanel.(SampleGeometryPanel.java:130)

at SamplesStarter.(SamplesStarter.java:68)

at SamplesStarter.main(SamplesStarter.java:183) Exception in thread "main"

What happens ?

I read the FAQ and i saw something about CSF_GraphicSHR. Is this variable must be setted ? And if it is the case where is located the library OpenGl.dll ??

Thanks for help.