Skip to main content
Gagan Kakkar
New Participant
May 19, 2025 2:16 PM UTC

Data File Tools error

Hi there,

Just installed "Visual COBOL for Visual Studio Personal Edition 10.0" on Windows 10 Pro.

Can't open: Data File Tools. Getting this java error message:

"A Java Exception has occurred" 

This is the Java version I have.

java version "1.8.0_451"
Java(TM) SE Runtime Environment (build 1.8.0_451-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.451-b10, mixed mode)

Thanks.
Gagan

    2 replies

    Chris Glazier
    Moderator
    May 19, 2025 2:30 PM UTC

    Hi there,

    Just installed "Visual COBOL for Visual Studio Personal Edition 10.0" on Windows 10 Pro.

    Can't open: Data File Tools. Getting this java error message:

    "A Java Exception has occurred" 

    This is the Java version I have.

    java version "1.8.0_451"
    Java(TM) SE Runtime Environment (build 1.8.0_451-b10)
    Java HotSpot(TM) 64-Bit Server VM (build 25.451-b10, mixed mode)

    Thanks.
    Gagan

    I assume that you are seeing that error when you are trying to start the Data File Tools from the Visual COBOL Start menu group?

    That version of Java is not supported in Visual COBOL 10. There is a table of supported versions in the docs at Supported Operating Systems and Third-party Software

    Visual COBOL provides a supported version of Java in its installation.

    Try setting your JAVA_HOME environment variable to point to "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\AdoptOpenJDK" and set your path to include "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\AdoptOpenJDK\\bin" and then retry.



    ------------------------------
    Chris Glazier
    Principal Technical Support Specialist
    Rocket Forum Shared Account
    ------------------------------
    Gagan Kakkar
    New Participant
    May 20, 2025 2:18 AM UTC

    I assume that you are seeing that error when you are trying to start the Data File Tools from the Visual COBOL Start menu group?

    That version of Java is not supported in Visual COBOL 10. There is a table of supported versions in the docs at Supported Operating Systems and Third-party Software

    Visual COBOL provides a supported version of Java in its installation.

    Try setting your JAVA_HOME environment variable to point to "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\AdoptOpenJDK" and set your path to include "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\AdoptOpenJDK\\bin" and then retry.



    ------------------------------
    Chris Glazier
    Principal Technical Support Specialist
    Rocket Forum Shared Account
    ------------------------------

    Hi Chris,
    Yes I am opening Data File Tools from Visual COBOL Start menu group.
    It's working OK after changing JAVA_HOME & path as suggested by you.

    Thanks.
    Gagan



    ------------------------------
    Gagan
    ------------------------------