Installation

I'm trying to install openCascade on a 32 bit Intel PC running Suse Linux 10.2 and JRE 6 update 2.

When I try running the install.csh script, I get a message saying "Preparing Java(tm) Virtual Machine" followed by several lines of dots and then back to the command prompt.

If I try and install using something like java -cp setup.jar run I get an error saying "The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)"

Several other people seem to have had a similar problem but none of the cures suggested works. Any suggestions?

Alvaro's picture

Just search for this topic in the forum:

http://www.opencascade.org/org/forum/thread_11365/
http://www.opencascade.org/org/forum/thread_12026/

let me know if it works now.

.alvaro.castro.

mchsskrw's picture

I discovered that although I had installed the latest version of Java, the java command on my system was still pointing to an old version. When I used the full path to the latest version of java and used the command "/java -jar setup.jar" is ran OK and installed.

I now have a new problem when I try and run the tutorial samples I get the following error message

"Error occurred during initialization of VM
Unable to load native library: /usr/local/OpenCASCADE6.2.0/3rdparty/Linux/java/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference "

Any ideas about this?

Alvaro's picture

It seems that the libjava.so is linked against different version of the glibc as the one you have.

It might be possible to try to use your own libjava.so library. Try to change the LD_LIBRARY_PATH so it doesn't point to /usr/local/OpenCASCADE6.2.0/3rdparty/Linux/java/jre/lib/i386/ but to the path where your own libjava.so is. This could work.

Jan Brüninghaus's picture

In run.csh you will find the following line:
setenv JAVAHOME "${CASROOT}/../3rdparty/${STATION}/java"

Change this, so it points to your java-installation.

Alvaro's picture

Yes that's right, that's called from java vm not the program. Sorry.

mchsskrw's picture

Changing the JAVAHOME environment variable seems to have done the trick. The program now starts OK.

Thanks for your help.