A simple sample showing how to get Jena to work with the NetBeans Platform.
Take note of this file:
https://github.com/GeertjanWielenga/HelloJena/blob/master/application/src/main/resources/my.conf
In the above, cp:a is used to set xml-apis.jar on the classpath.
And here is the Jena code used in this example:
The code above comes from here: