problem running RTC jar on windows

Hi
I am trying to build a client application to be used standalone.
I used the Plain Java API 4.0.3 and test it in my eclipse environment and it works.
I export this application in a runnable JAR file and tried to run it on windows command line
I get the error message:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamRepository.java:420)
at com.ibm.team.repository.client.internal.TeamRepositoryService.createSharedTeamRepository(TeamRepositoryService.java:526)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:112)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:131)
at main.runQuery.login(runQuery.java:183)
at main.runQuery.main(runQuery.java:80)
Caused by: java.lang.IllegalArgumentException: The type name Contributor and the namespace URI com.ibm.team.repository do not resolve to an IItemType.
at com.ibm.team.repository.common.internal.querypath.AbstractQueryPathModel$Implementation.getItemType(AbstractQueryPathModel.java:192)
at com.ibm.team.repository.common.query.IQuery$Factory.newInstance(IQuery.java:93)
at com.ibm.team.repository.client.internal.ContributorManager.createAllContributorsQuery(ContributorManager.java:72)
at com.ibm.team.repository.client.internal.ContributorManager.<clinit>(ContributorManager.java:60)
... 6 more
what is the problem?
2 answers

I think there are too many possibilities to tell.
In general I have done that and it works, provided you have a JDK and provide the Plain Java Client Libraries in the classpath.
In https://rsjazz.wordpress.com/2014/04/11/rtc-extension-workshop-overhaul/ I talk about how this can be done in general. You can download the batch with the workshop linked in the post.
In general I have done that and it works, provided you have a JDK and provide the Plain Java Client Libraries in the classpath.
In https://rsjazz.wordpress.com/2014/04/11/rtc-extension-workshop-overhaul/ I talk about how this can be done in general. You can download the batch with the workshop linked in the post.