Adding Java Cryptographic Extension to plugin.xml [message #218655] |
Thu, 10 November 2005 11:57  |
Eclipse User |
|
|
|
Originally posted by: Aaron.Davis.Dynetics.com
I am creating an Eclipse Application that uses a Java Cryptographic
Extension (JCE) that is packaged in a JAR file that would normally resides
in the lib/ext folder of my JRE (Java 2 SDK, Standard Edition - Version
1.4.1). I have included this JAR file in the classpath and added it to the
<runtime> tag of my plugin.xml file.
While running the application, it fails when it attempts to use some of the
cryptographic functions from the extension. The only way I can get the
Eclipse Application to work correctly is by physically adding the JAR file
to the lib/ext folder of my JRE. If I use the same cryptographic functions
while running a Java Application in Eclipse, it works fine.
Is there a way to run my Eclipse plugin without having to add the JAR file
to the lib/ext folder of my JRE? Do I need to make some more modifications
to the plugin.xml file?
Thanks,
Aaron
|
|
|
Re: Adding Java Cryptographic Extension to plugin.xml [message #219463 is a reply to message #218655] |
Fri, 18 November 2005 18:30  |
Eclipse User |
|
|
|
Originally posted by: ggerard.ggerard.com
I think this is what you might be after:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/bundle_manifest.html
Check out the buddy loader option. There's an "ext" value that's set-able.
greg
Aaron Davis wrote:
> I am creating an Eclipse Application that uses a Java Cryptographic
> Extension (JCE) that is packaged in a JAR file that would normally resides
> in the lib/ext folder of my JRE (Java 2 SDK, Standard Edition - Version
> 1.4.1). I have included this JAR file in the classpath and added it to the
> <runtime> tag of my plugin.xml file.
>
> While running the application, it fails when it attempts to use some of the
> cryptographic functions from the extension. The only way I can get the
> Eclipse Application to work correctly is by physically adding the JAR file
> to the lib/ext folder of my JRE. If I use the same cryptographic functions
> while running a Java Application in Eclipse, it works fine.
>
> Is there a way to run my Eclipse plugin without having to add the JAR file
> to the lib/ext folder of my JRE? Do I need to make some more modifications
> to the plugin.xml file?
>
> Thanks,
>
> Aaron
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02867 seconds