Search code examples
data-distribution-service

Unable to load OMG DDS implementation. Please set org.omg.dds.serviceClassName property.G


I'm a fresh man to OMG DDS and I tried to run the example GreetingPublishingApp. I don't know what should I do.

DomainParticipantFactory factory =
    DomainParticipantFactory.getInstance(Bootstrap.createInstance());
DomainParticipant dp = factory.createParticipant();

Solution

  • It looks like you are trying to use the new Java5 API, which is still in-progress. The API alone will not help as it is just a facade to an underlying implementation. As far as I know no current implementations support the new API, as it is not yet finished. Regarding the error message: the intent is to put the class of the concrete implementation into the org.omg.dds.serviceClassName system property.