Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Adding Java Cryptographic Extension to plugin.xml
Adding Java Cryptographic Extension to plugin.xml [message #218655] Thu, 10 November 2005 11:57 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:2 contexts under webapp - eclipse is getting confused
Next Topic:Communicating between Eclispe and a launch of Eclipse
Goto Forum:
  


Current Time: Wed Jul 23 10:41:08 EDT 2025

Powered by FUDForum. Page generated in 0.02867 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top