Skip to content

mxcli run --local cannot run a Mendix 9 app #1437

Closed
ako/mxcli
#1147

Description

@MendixMau

Environment

  • mxcli: v0.26.0 (release binary, 2026-10-11)
  • Mendix app seen on: Siemens FSM template (Marketplace) 9.24.2; 10.24 / 11.13.0 converted copies
  • OS: Linux x86_64 cloud container (no Studio Pro; mx/mxbuild only)

Summary

mxcli run --local cannot run a Mendix 9 app. Command / document type: mxcli run --local. Seen on: FSM template 9.24.2. — occurrences: 1

Reproduction

JAVA_HOME=<jdk17> mxcli run --local --db-type hsqldb -p <9.24 app>

Expected

a JDK the model version supports, or a clear message.

Actual

mxbuild 9.24's Gradle 7.6: Unsupported class file major version 65 (mxcli resolves JDK 21 even with JAVA_HOME set to 17)

a Gradle stack error; a 9.x model has no JavaVersion setting to steer it.

Impact

usability, 1 occurrence(s) in the 2026-10-12 round-trip runs.

Activity

  1. github-actions commented on Oct 12, 2026

    @github-actions

    Issue Triage

    Summary:
    The user reports that mxcli run --local fails to start a Mendix 9 app because mxcli incorrectly selects JDK 21, causing a Gradle “Unsupported class file major version 65” error.

    Checklist (bug report)

    • ✅ mxcli version (v0.26.0)
    • ✅ Mendix version of the project (9.24.2)
    • ✅ Scenario (running mxcli run --local on a Mendix 9 app)
    • ✅ Expected output (a compatible JDK or a clear message)
    • ✅ Experienced output (Gradle error about class file version 65, JDK 21 being used despite JAVA_HOME=17)
    • ❌ AI bug report / session log (output of mxcli diag --bundle or at least the relevant logs)

    What’s missing:
    Could you please attach the session log or run mxcli diag --bundle and share the resulting archive? This will help us see exactly how mxcli is selecting the JDK and any other relevant details.

    Thank you for reporting the issue! Once we have the logs we can investigate further.


    Automated triage via OpenRouter — workflow source

  2. added a commit that references this issue on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions