Installing Visual COBOL Eclipse for red hat Linux 5.x

Need help with a link to the correct version of JAVA. I ran visual cobol from icon on Linux server desktop and got the message "visual cobol for eclipse - java is the wrong version. A 32 bit Java 1.6 or above runtime is required to run eclipse. Update the java on your PATH and retry."   How do I find the correct PATH?. Also I have no mention of environment variables that are required. I intend to evaluate (compile ) programs currently running server express with character mode dialog.

My server is a HP prolient ML150 (64 bit)

Thanks Bob

  • Need help with a link to the correct version of JAVA.

    Java can be downloaded from Oracle, at http://www.oracle.com/us/technologies/java/standard-edition/overview/index.html. Since you're running Linux, you can probably also install a suitable Java runtime using a package installer for your Linux distribution.

    I ran visual cobol from icon on Linux server desktop and got the message "visual cobol for eclipse - java is the wrong version. A 32 bit Java 1.6 or above runtime is required to run eclipse. Update the java on your PATH and retry."   How do I find the correct PATH?

    Open an xterm or other application that gives you a shell prompt, and enter "which java" (or the appropriate command for your shell, if you're not using a shell that supports the "which" command). That will tell you where the Java runtime exists on your path. If no Java executable is found, then the problem is that either Java is not installed, or it's not on your path.

    This is standard Linux system administration.

    Also I have no mention of environment variables that are required.

    What other environment variables do you believe are required?

  • Thanks Mike

    I got Java installed OK  I now need the environment variables for eclipse and Vcobol  that are required(If any).

    Can  you help with these?

    Thanks Bob

  • I don't know of any other environment variables you'd need to set, if Java is properly installed.

  • Installed from RedHat Java-1.7.0-openjdk  x86_64 . With this I get the message from eclipse:

    A java runtime environment (JRE) or development kit (JDK) must be available in order to run eclipse, No java virtual machine was found after searching the following locations:

    cobjecl32 in your current PATH.

    Is Eclipse is looking for 32bit java??.

  • I believe both 32- and 64-bit versions of Eclipse are available, but whichever you have installed, you must have a JRE of the corresponding bitness. I'd suggest trying with a 32-bit JRE.

  • Verified Answer

    Hi Bob,

    There are 64 bit versions of Eclipse available from Eclipse.org. However, Visual COBOL for Eclipse does not support 64 bit versions of Eclipse. Therefore you will need to have a 32 bit JRE installed and on your path for Eclipse to function.

    Regards,