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

in "Demonstration" of your Web Site

François-Xavier Dumez's picture
Forums: 

in "Demonstration" of your Web Site, the program "ShapeViewer" don't run; int the file "run.bat" you wrote: "java.exe -cp .;ShapeViewer.jar AppStarter" and the error is: "bad command or bad file"

the file "AppStarter" don't exist (it is maybe "AppViewer" in ".\Registry\". But with this file, I have the same error...

I used Windows95 and JRE 1.2

Haffray Arnaud's picture

Hello,

I think you've forgot to set correctly one of your environment variables. To run done this demo, you must set path with : old path,the dll files path, the java and java/bin path, the demonstration path. Verify your run.bat file and insert absolute path for all environment variables.

regards

Arnaud

François-Xavier Dumez's picture

I have in the "run.bat":

set CSF_GRAPHICSHR=OL\opengl.dll set CSF_MDTVFontDirectory=OL\data set CSF_MDTVTexturesDirectory=OL\data set CSF_MDTVUnitsDefinition=OL\data\Units.dat set CSF_PluginDefaults=.\REGISTRY set CSF_AppViewerDefaults=.\REGISTRY set PATH=.;.\OL;%PATH% java -cp .;ShapeViewer.jar AppStarter

but for example OL\data don't exist ...

there is a problem !

Vitaliy Smetannikov's picture

Hello,

I suppose you need to define java.exe path. Try next:

[Path of your JDK or JRE]\bin\java -cp .;ShapeViewer.jar AppStarter