Need help installing Visual Studio with SDK 8

Dear all,

Please, please help me.

I am so very frustrated by the Garmin Programming "interface".

I have written several programs, used by several thousand people. Some ask me to add a feature. I know that "program-wise" this is easy, but I also know it will take me weeks to found out how it works with Garmin. Pff.

So I have a new windows 11 laptop. I have a user with administrator rights.

I have installed Java (1.8.0). I have installed Visio Studio Code (1.103.2). I have installed Monkey C in visual studio code. I have downloaded and started the SDK manager.

With all versions of ConnectIQ BELOW 8, for example 7.4.3, I get no error messages, verification of installation of Monkey C checks "ok". BUT, the simulator starts with an empty screen and I can only test/build for old devices (edge 1030).

When selecting ConnectIQ 8.1.0 until 8.2.3, I get several error messages: "Monkey C Language Server client: couldn't create connection to server". And I am completely stuck.

Have searched how to solve this, have reinstalled, but get the same.

So, I can not even start helping people, (again) I am stuck just how to use the bloody (sorry) tools.

Can someone please give me a guideline?

  • maybe it is not the same thing but I got this kind a message because I did not use the right Java.

  • I've been using this java for years with many different SDKs on win11 including the latest.

    openjdk version "17.0.2" 2022-01-18
    OpenJDK Runtime Environment (build 17.0.2+8-86)
    OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

  • Thank you both, that was it!!

    I had Java 8, build 461.

    Now running with JDK24 no error messages anymore!

    Only simulator is showing only part of a second, then window is empty, I get a popup window that says: Download an application to open ms-gaming overlay..???

    But without simulator I can at least make some simple adjustments that I will test on my own device.

    Thanks again for the quick replies, you made my day :-)

  • I have just setup a new Windows 11 PC and used this same latest version of Java without any trouble:

    java version "1.8.0_461"
    Java(TM) SE Runtime Environment (build 1.8.0_461-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.461-b11, mixed mode)

    Same version of VSCode 1.103.2 and Monkey C extension 1.1.2 

    I can build and run any version of CIQ 8.x and 7.x without seeing these problems.

    Make sure you stop the simulator before switching SDK versions since there are often incompatibilities between different simulator and SDK versions. But in principle, the versions you were using are working for me.