Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Errors deploying plugin
Errors deploying plugin [message #1857500] Fri, 10 February 2023 14:30 Go to next message
Richard Olson is currently offline Richard OlsonFriend
Messages: 25
Registered: April 2010
Junior Member
Good morning,

Running Eclipse 2022-12, Java 17 and IBM Semeru MAT 1.13.0 versions

Developed a commandLine based plugin to query and report on various heapdump and coredump objects. The project works deploying into MAT in GUI mode. The project successfully executes several queries creating output files.

The commandLine version encounters an error when trying to deploy the commandLine's plugin project into MAT. Here's the error:
Cannot complete the install because one or more required items could not be found.
Software being installed: MAT_CommandLineParserFeature 1.0.0.202302091058 (MAT_CommandLineParserFeature.feature.group 1.0.0.202302091058)
Missing requirement: MAT_CommandLineParser 1.0.0.202302091058 (MAT_CommandLineParser 1.0.0.202302091058) requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=17))' but it could not be found
Cannot satisfy dependency:
From: MAT_CommandLineParserFeature 1.0.0.202302091058 (MAT_CommandLineParserFeature.feature.group 1.0.0.202302091058)
To: org.eclipse.equinox.p2.iu; MAT_CommandLineParser [1.0.0.202302091058,1.0.0.202302091058]

Any suggestions? I've included the following in the MANIFEST.MF file based on the error and no help. The entry's:
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Capability: osgi.ee; (&(osgi.ee=JavaSE)(version=17))

Thanks,
Rich Olson
Re: Errors deploying plugin [message #1857958 is a reply to message #1857500] Wed, 08 March 2023 10:24 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Here are some things to try:


  1. Are you sure you are running with Java 17 for the command line version of MAT?
  2. Does it work with osgi.ee; (&(osgi.ee=JavaSE)(version=11)) ?
  3. Does this look relevant? https://www.eclipse.org/forums/index.php/t/1110558/ and https://www.eclipse.org/forums/index.php?t=msg&th=1110558&goto=1851646&#msg_1851646 where 'The runtime shipped by efxclipse does not know Java-17.' which might be similar to the situation with MAT 1.13.0.
  4. MAT 1.13.0 is based on Eclipse 2022-03 which might not know about Java 17. Does it work with a snapshot build as MAT 1.14.0 will be based on Eclipse 2022-12, which requires Java 17.


Re: Errors deploying plugin [message #1858221 is a reply to message #1857958] Thu, 23 March 2023 13:06 Go to previous message
Richard Olson is currently offline Richard OlsonFriend
Messages: 25
Registered: April 2010
Junior Member
Thanks Andrew, busy at the moment. I'll go over my environment and provide an update soon.
Previous Topic:MAT not working on mac apple m1 pro
Next Topic:MAT Histogram Objects count is not equal Android Studio Profiler
Goto Forum:
  


Current Time: Mon Jan 13 21:50:22 GMT 2025

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

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

Back to the top