Plug-in developer's guide - "no main manifest attribute, in VolumePlugin.jar" when executing the JAR

This topic has been viewed 7784 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Dennisek
Posts: 4
Joined: Thu Oct 27, 2022 11:20 am
Country: Germany

Plug-in developer's guide - "no main manifest attribute, in VolumePlugin.jar" when executing the JAR

Post by Dennisek »

Hello, I just recently discovered Sweet Home 3D and right now I am trying to follow through the Plug-in developer's guide.

I am able to follow all steps but whenever I try to execute the JAR file I get the error message "no main manifest attribute, in VolumePlugin.jar".

I already installed OpenJDK version 8 and used this version for the Eclipse project. I would like to attach the JAR file which is saved in my system in "/home/dennis/.eteks/sweethome3d/plugins/VolumePlugin.jar" but I don't seem to find an attach option for files in posts.

So it would be great if you could tell me how to attach files to posts and maybe you already have a clue on why it might not be working.

I appreciate your help!

Best regards,
Dennis
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Plug-in developer's guide - "no main manifest attribute, in VolumePlugin.jar" when executing the JAR

Post by Puybaret »

A plug-in can be executed from Sweet Home 3D. Even if it’s possible to run it also as an application, it’s not its goal.
Emmanuel Puybaret, Sweet Home 3D creator
Dennisek
Posts: 4
Joined: Thu Oct 27, 2022 11:20 am
Country: Germany

Re: Plug-in developer's guide - "no main manifest attribute, in VolumePlugin.jar" when executing the JAR

Post by Dennisek »

Hey Puybaret, thank you for your answer. In the tutorial it was written that I am supposed to execute the Sweet Home jar file and not the plugin jar file. So I guess it also makes sense that it didn't work out. Now when I execute the Sweet Home jar file as intended it actually works :)
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest