{"id":288,"date":"2014-03-30T17:03:49","date_gmt":"2014-03-31T01:03:49","guid":{"rendered":"http:\/\/www.android-decompiler.com\/blog\/?p=288"},"modified":"2018-12-19T13:39:54","modified_gmt":"2018-12-19T21:39:54","slug":"developing-jeb-plugins-in-java-with-eclipse","status":"publish","type":"post","link":"https:\/\/www.pnfsoftware.com\/blog\/developing-jeb-plugins-in-java-with-eclipse\/","title":{"rendered":"Developing JEB plugins in Java with Eclipse"},"content":{"rendered":"<p>This tutorial explains how to configure an Eclipse IDE project to develop JEB plugins efficiently.<\/p>\n<p><strong>1 &#8211; Create a regular Java project.<\/strong> In this example, the project is named <em>JEBPlugin<\/em>.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.android-decompiler.com\/blog\/wp-content\/uploads\/2014\/03\/fbcac057e40b4ebe792c7cdca04c0b3d.png\" \/><\/p>\n<p><strong>2 &#8211; Add jeb.jar to the Build path.<\/strong>\u00a0Edit the project Build path (<em>right-click, Build Path, Configure Build Path&#8230;<\/em>).<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.android-decompiler.com\/blog\/wp-content\/uploads\/2014\/03\/03bdb42f1d52d24a609f309100aa4ccb.png\" \/><\/p>\n<p>Select &#8220;<em>Add External JARs&#8230;<\/em>&#8220;, add select jeb.jar located in your JEB\/bin installation folder.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.android-decompiler.com\/blog\/wp-content\/uploads\/2014\/03\/a495a5423dd5bb71b8b00790d36a6485.png\" \/><\/p>\n<p><strong>3 &#8211; Attach the API docs to the JEB jar file.<\/strong>\u00a0Unfold the newly added &#8220;jeb.jar&#8221; entry, click <em>Javadoc location<\/em>, then <em>Edit.<\/em><\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.android-decompiler.com\/blog\/wp-content\/uploads\/2014\/03\/33a9493449d9828cc9738a542a525871.png\" \/><\/p>\n<p>Point to either the online Java doc at <a href=\"https:\/\/www.pnfsoftware.com\/jeb1\/apidoc\">https:\/\/www.pnfsoftware.com\/jeb1\/apidoc<\/a> or use an offline Javadoc archive, either present in your JEB installation folder (typically, doc\/apidoc.zip), or downloaded from\u00a0<a href=\"https:\/\/www.pnfsoftware.com\/jeb1\/downloads\">https:\/\/www.pnfsoftware.com\/jeb1\/downloads<\/a>.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.android-decompiler.com\/blog\/wp-content\/uploads\/2014\/03\/ac90b246d4111b751888837f28e0ad1a.png\" \/><\/p>\n<p><strong>4 &#8211; You&#8217;re done!<\/strong> You can now develop native Java JEB plugins. Remember that the main plugin class must be in the default package (ie, no package), and implement <a href=\"https:\/\/www.pnfsoftware.com\/jeb1\/apidoc\/index.html?jeb\/api\/IScript.html\">jeb.api.IScript<\/a>. This blog contains several How-to&#8217;s on plugin development. You will find even more examples on our Download section on the main website.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.android-decompiler.com\/blog\/wp-content\/uploads\/2014\/03\/ca8559378703a164ebcbc4e99e75d8d1.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains how to configure an Eclipse IDE project to develop JEB plugins efficiently. 1 &#8211; Create a regular Java project. In this example, the project is named JEBPlugin. 2 &#8211; Add jeb.jar to the Build path.\u00a0Edit the project Build path (right-click, Build Path, Configure Build Path&#8230;). Select &#8220;Add External JARs&#8230;&#8220;, add select jeb.jar &hellip; <a href=\"https:\/\/www.pnfsoftware.com\/blog\/developing-jeb-plugins-in-java-with-eclipse\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Developing JEB plugins in Java with Eclipse<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-api-jeb1"],"_links":{"self":[{"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":0,"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pnfsoftware.com\/blog\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}