create a new Connect IQ run configuration in eclipse

hi,
i have just bought a 230 and want to write my first app. sadly i am having problems at the very beginning.

i am following the steps described here, i want to create a hello wold app:

blog.aaronboman.com/programming/connectiq/2014/11/06/hello-world-for-connectiq/

my problem is, i cannot create a new launch configuration for connect iq. when i follow these two steps:
- Click the New Launch Configuration icon (picture of a piece of paper with a yellow plus).
- Give the configuration a name, select the project being built, and if you chose to build for something other than a Square Face, select which face style you want to build for.

nothing happens after step1. it does work if i do the same on some other item, like java. but for connectiq, nothing happens when i click the new launch configuration icon. it looks like it is ignored.
connectiq plugin seems to be properly installed. i can for instance open samples folder, or launch the simulator from connect iq menu. or use the download manager. this is all working.

any ideas?
i am running:
windows 10x64
eclipse luna x32
java re 1.8
connect iq sdk 1.2.5

thank you in advance!
  • When you click the New launch configuration icon, are you sure you've selected the Connect IQ App item in the tree view?

    I'm running the same versions of the software you are and I don't have any problems at all.
  • thank you Travis,

    yes , i am sure. as mentioned, if i select any other icon, it works properly. it is just with connectiq.

    i might delete everything this evening and begin from scratch, including Java RE.

    you confirm you downloaded eclipse x32? i first downloaded Eclipse x64 version. but it did not work, because it seems it requires Java RE x64. Eclipse crashed on start.
    I did not want to mess with my PC and install java x64, because i already had Java RE installed. therefore i downloaded afterwards eclipse x32 version. and everything went fine. i could install the plugin, and the SDK 1.2.5 using the download manager. but somehow the run configuration cannot be set. I wonder if there is a log file where i could track the problem... i will check tonight. can you please tell me exactly which java vm have you installed?

    thanks.
  • C:\Development>java -version
    java version "1.8.0_60"
    Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
    Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
  • I last I heard Eclipse Luna was the supported version for CIQ, but it sounds like many people are using Eclipse Mars and I've not heard of any issues (I'm still on Luna).

    When setting a new run config, make sure you can do "apply". It will be grayed out for things like a target that you don't have defined for the project you have specified. After you apply, run should not be grayed out. If it is, the project could be closed in Eclipse.
  • Former Member
    Former Member over 9 years ago
    @danielp27, can you right click on the project and choose "Run As" > "Connect IQ App"? Doing this will create a temporary run configuration behind the scenes.

    As to why you aren't able to create a run configuration manually I'm not sure. It should not matter if you're using 32 or 64 bit Java/Eclipse. To clarify, you are able to add a new configuration using the piece of paper with a plus icon but you cannot change the values in the configuration? The tutorial you're following is a great write up but I would also point you to the Programmers Guide. You can view it online here; in particular I'd point you towards the Running the Program section on this page.
  • fixed!
    in the PATH i included the parent folder, instead of bin.

    thanks a lot.
    amazing having received help from so many different people. this is promising!