Skip to content

CLI Tool Error on Windows: "Unrecognized option" When Running icode.bat #233

Open
@Foadsf

Description

@Foadsf

Describe the bug

Upon executing the icode.bat script, part of the i-Code CNES 4.1.2 release, the process halts with an error preventing the Java Virtual Machine (JVM) from initiating. Specifically, the error message indicates an "Unrecognized option", but does not clarify which option or argument is problematic. This issue arises even when JAVA_HOME is correctly set, and Java is properly installed and accessible on the system.

The error encountered is:

Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

This error prevents any further action or analysis by the i-Code CNES tool, making it unusable under the described conditions.

User environment (please complete the following information):

  • OS: Microsoft Windows [Version 10.0.19045.4170]
  • Java version:
    • java version "1.8.0_401"
    • Java(TM) SE Runtime Environment (build 1.8.0_401-b10)
    • Java HotSpot(TM) 64-Bit Server VM (build 25.401-b10, mixed mode)
  • i-Code version: 4.1.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions