Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Migration of java 8 eclipse plugin to java 11 - jar file not exported?(How to make a jar file within an eclipse plugin visible to other plugins?)
Migration of java 8 eclipse plugin to java 11 - jar file not exported? [message #1823511] Fri, 27 March 2020 17:22 Go to next message
Eclipse UserFriend
We are migrating an eclipse plugin from java 8 to java 11. The plugin contains a library as jar-file. The packages of the library (jar file) are should be exported by the plugin to be used by other plugins.

The whole thing was working fine in java 8, but after we moved to java 11, an automatic module name was added to MANIFEST.MF, but the packages of the library (jar file in the plugin) are no longer visible to other plugins.

However, standard java packages in plugins can be easily exported and used in other plugins.

Any pointers to what is missing?
Re: Migration of java 8 eclipse plugin to java 11 - jar file not exported? [message #1823817 is a reply to message #1823511] Thu, 02 April 2020 10:05 Go to previous messageGo to next message
Eclipse UserFriend
Can you please give detailed steps.
(Solved) Re: Migration of java 8 eclipse plugin to java 11 - jar file not exported? [message #1823879 is a reply to message #1823817] Fri, 03 April 2020 08:29 Go to previous messageGo to next message
Eclipse UserFriend
I tried to simply change the Java Runtime for my Eclipse plugin - this unfortunately did not work. I managed to solve this issue by recreating the Eclipse plugin from scratch by using the wizard which adds the jar files in the plugin successfully. Not sure what the issue was ...

(The goal was to have an Eclipse plugin, which contains a library and exports the API from the jar file to other Eclipse plugins ...)
Re: (Solved) Re: Migration of java 8 eclipse plugin to java 11 - jar file not exported? [message #1823898 is a reply to message #1823879] Fri, 03 April 2020 10:12 Go to previous message
Eclipse UserFriend
Hi

If it's an Eclipse plugin, it is important to use the update classpath facility within the Manifest editor.

Regards

Ed Willink
Previous Topic:Using jdt for reading Groovy/Kotlin
Next Topic:lost main class
Goto Forum:
  


Current Time: Sun Jul 13 22:36:06 EDT 2025

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

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

Back to the top