Where am i going wrong in Linux installation?

I downloaded OpenCascade, and unpacked the archive in my home folder.

So here is what I enter in terminal:
[Bernard@localhost ~]$ su -
Password:
[root@localhost ~]# /home/Bernard/install.csh
/Linux/setupLinux.bin: Command not found.
[root@localhost ~]# /home/Bernard/Linux/setupLinux.bin
InstallShield Wizard

Initializing InstallShield Wizard...

Preparing Java(tm) Virtual Machine...
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...........[root@localhost ~]#

As you see, install.csh does not work. In Gedit I can tell it tries to direct to setupLinux.bin, so I attempted to manually get to that as you will see. That is when I get Preparing Java virtual machine...................................
But then that is it!

There was also a file setup.jar in the same folder as setupLinux.bin, here is what happens when I try to enter this in terminal:

...........[root@localhost ~]# /home/Bernard/Linux/setup.jar
-bash: /home/Bernard/Linux/setup.jar: cannot execute binary file
[root@localhost ~]#

Any ideas?

Etienne LORRIAUX's picture

Hello !

try java -jar setup.jar, it should work

manali's picture

I too got the same problem mentioned by Bernard. G

To summarize the problem:
[root@localhost ~]# /home/manali/Linux/setupLinux.bin
InstallShield Wizard

Initializing InstallShield Wizard...

Preparing Java(tm) Virtual Machine...
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...........[root@localhost ~]#

After this i tried, java -jar setup.jar but it didnt wrk. It is not able
to recognise the java command. I have tried gij (gnu interpreter for java byte code)
commad. It has recognized the commad but was killed after some time without giving any error
message.

Is there any problem with jvm version? Which java lib i need to install? My OS is Fedora.

Any help is appreciated.
Thank you,

Manali

Jan Brüninghaus's picture

Go and get Java from SUN. With Fedora, the rpm-Package should work fine.
http://www.java.com/de/download/manual.jsp

If Java isn't found after that, set your PATH Variable to the Directory where the Java executable is or create a symbolic link in /usr/local/bin pointing to it.