Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8482393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:48:56+00:00 2026-06-10T19:48:56+00:00

The issue is as follows: I have a 3rd party Eclipse plug-in installed and

  • 0

The issue is as follows:

  1. I have a 3rd party Eclipse plug-in installed and running

  2. The above Eclipse plug-in provides an “extension point” of sorts – a source for a class I can extend/rewrite and replace in the plug-in lib directory (I am not saying it’s a great idea, but necessity makes us do things we are not proud of – in-house development has its quirks)

  3. The idea here is to envelop any such change in an external JAR (created by us) so that any change in code wouldn’t require us to restart Eclipse to “refresh” the “extension point” class during development.

  4. Eventually, a plugin/bundle will be created and placed as a dependency on the original plugin – so that installing and using that plug-in would actually, you know, work.

Question is – can I somehow add what is basically an external JAR file to Eclipse Application debug/run configuration?

Normally, adding JAR to classpath tab would work for regular Java application debugging/running. Eclipse Application however, doesn’t have that tab.

So far the efforts (failed, perhaps due to some stupid syntax error or whatnot) included:

  1. Adding the JAR as a dependency to Bundle-ClassPath: of the plug-in as C:\test.jar
  2. Adding the JAR to the system’s CLASSPATH variable

None of that made any difference – the code in the “extension point” that refers to a class in the JAR file fails – exception that boils down to:

Caused by: java.lang.ClassNotFoundException: test.Test
at org.eclipse.osgi.internal.loader.BundleLoader.
     findClassInternal(BundleLoader.java:506)

Any pointer/help/criticism would be greatly appreciated.

Update

Apparently putting the JAR in the lib directory of the plug-in and updating the MANIFEST file doesn’t work (not that it would help me – since such a solution would require a “refresh”, which I am trying to avoid in the first place), so I must be doing something fundamentally wrong.

Does that make any sense or did I miss something in one of those attempts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:48:58+00:00Added an answer on June 10, 2026 at 7:48 pm

    I have included an external JAR file to my Eclipse application…..not to the debug/run configurations but to the application itself.

    What we did was to wrap the plugin into it’s own java project. We are using maven for our build, so the pom.xml lists the dependency as the .jar file (which we put into a lib directory in the project). The manifest.mf file exports the needed classes. My application plugins have a dependency on this project. When I debug/run the application in the workbench I just make sure that this library project is included.

    I’m not sure this answers your question completely or not….but I hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My issue is as follows. We have dict that has all keys and values
My issue is as follows : I have stored a few pictures into the
I have a issue of displaying information in iPhone screen. Case is as follows.
I have an issue where the JavaScript source file is loading in popup for
Here is my issue: I have two lists as follows: [(Float, Integer)] and [(String,
I have an issue, my application works as follows. First echo to the user
The issue I am having is as follows: I have a MySQL table that
New to XML. I have a 3rd party webservice that supplies an XML document
I have a web application project which utilises a set of 3rd party dll's.
The issue I have is as follows: My company's supplier gives us an Access

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.