How to include Java SE classes when starting up from the command line? [message #1003876] |
Tue, 22 January 2013 02:11  |
Eclipse User |
|
|
|
Hi,
I have an Equinox OSGi container that starts fine using eclipse on my development machine. However, when I export the bundles and try and start it from the command line using the instructions http://www.eclipse.org/equinox/documents/quickstart-framework.php I get some class not found exceptions.
Caused by: java.lang.ClassNotFoundException: javax.sql.DataSource
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
This is very strange because the class that cannot be found is a standard java class. I definitely have java installed and the execution environment in the manifest requires the same verion of java.
Is there something extra I need to do?
Thanks,
Eban
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.32053 seconds