Jump to content
Excelsior Forums

Search the Community

Showing results for tags 'classnotfoundexception'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Excelsior JET
    • News
    • How Do I?
    • Defect Reports
    • General Discussion
    • Archive (read-only)
  • Other Excelsior Products
    • Excelsior Installer / Excelsior Delivery
    • xFunction
    • Native XDS-x86/XDS-C
    • JFCMark

Found 1 result

  1. Hello everyone. Hope all well at Excelsior! We have an application, compiled through Jet, which we allow our customers to extend by writing plugins. Those plugins are class files (since our customers do not have a Jet installation). Now, our application locates their class by using Class.forName(pluginclassname) - this works fine. This plugin now needs to use functionality of the application for which it creates instances of the application's classes. The customer's plugin cannot directly reference the application's classes since all application classes are embedded within the .exe and thus javac cannot find it. Hence we have requested the customer to use Class.forName(applicationclass), which unfortunately does not work - it results in a ClassNotFoundException. My guess is that Jet is stripping the names of the classes when building the native executable. If so, how can i tell it to retain names for specific classes? Or is the solution more complex? Please note that we have a valid support contract. Best Regards, Sushant A