It's all about the answers!

Ask a question

how to execute RTC api runnable jar code from command line


vijaya lakshmi (111) | asked Jan 10 '14, 3:25 a.m.
edited Jan 10 '14, 3:36 a.m. by Ralph Schoon (63.2k33646)
Executing the runnable jar rtc api from commandline is resulting in the below error.

Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
        at com.ibm.team.repository.client.internal.TeamRepository.<init>(Tea
        at com.ibm.team.repository.client.internal.TeamRepositoryService.cre
        at com.ibm.team.repository.client.internal.TeamRepositoryService.get
        at com.ibm.team.repository.client.internal.TeamRepositoryService.get
        at com.ibm.henkel.fmo.main.FMOCustomization.login(FMOCustomization.j
        at com.ibm.henkel.fmo.main.FMOCustomization.main(FMOCustomization.ja
Caused by: java.lang.IllegalArgumentException: The type name Contributor and
        at com.ibm.team.repository.common.internal.querypath.AbstractQueryPa
        at com.ibm.team.repository.common.query.IQuery$Factory.newInstance(I
        at com.ibm.team.repository.client.internal.ContributorManager.create
        at com.ibm.team.repository.client.internal.ContributorManager.<clini
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        ... 6 more
Please can somebody help me fix this issue

One answer



permanent link
Ralph Schoon (63.2k33646) | answered Jan 10 '14, 3:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I describe how I do this in https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
Please note, I think I had issues if I tried to launch the batch files from within Eclipse. I usually launch from a command window.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.