Jar Tool

Compatible with  IntelliJ IDEA
18.05.2010
76 081
GUI Based tool to create jar archives easily with facilities * to create executable archives * create executable archives * manifest file generation * including excluding classes from multi module IDEA projects * including 3rd party libraries * building source archives * generating ANT script

Download plugin

Version

Update date

Recent change notes

Idea community edition update

General usage instructions

Create new Archive Project, Set the values using the UI and click on make button. it will create the archive for you.
Anonymous
10.02.2011
Every time I try to make a JAR, I receive this error:

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(716,935),absolute(708,927),button=1,modifiers=Button1,clickCount=1] on frame0: com.intellij.openapi.compiler.CompilerManager.compile(Lcom/intellij/openapi/module/Module;Lcom/intellij/openapi/compiler/CompileStatusNotification;Z)V
java.lang.NoSuchMethodError: com.intellij.openapi.compiler.CompilerManager.compile(Lcom/intellij/openapi/module/Module;Lcom/intellij/openapi/compiler/CompileStatusNotification;Z)V
at idea.jartool.actions.JarAction$2.run(JarAction.java:611)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:844)
at idea.jartool.actions.JarAction.createJar(JarAction.java:559)
at idea.jartool.JarEditor.actionPerformed(JarEditor.java:196)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:501)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Anonymous
02.10.2010
It creates a jar for you. But the included 3rd party libraries are not working which makes it not very useful.
Anonymous
20.05.2010
Hi, I'm a new IDEA user (very impressed so far) and refugee from eclipse (just awful... but has a jar export tool). Tried the most recent version of this plugin (dated 2010-05-18) with IDEA 9.0.2 (community edition), although the version number is *another* 7.17, not 7.20 as might be expected. The Clean, Make and Save buttons don't seem to do anything, and Ant and Refresh cause exceptions. So something's not right. I really hope this plugin gets fixed... I want to dump eclipse asap!
Anonymous
25.03.2010
Has anyone tested this with IJ 9.0.1? I installed and when I click the "new archive" button, I get a new tab, but the contents of the tab are empty.
Anonymous
23.02.2010
Yup, this was THE easiest way to create jars for me. Would LOVE to see an upgrade for ver 9.
Anonymous
29.12.2009
This was SO useful in IJ7, especially the options to simultaneously create source jars.

I'd love to see an update for IJ9.
Anonymous
16.02.2009
Same thing, on Idea 8, I have so many mouse event exceptions :'(
An update for Idea 8 would be very friendly.

Thanks.
Anonymous
24.12.2008
What a pity! Does the latest plugin not support IDEA 8?

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(573,672),absolute(569,668),button=1,modifiers=Button1,clickCount=1] on frame0: com/intellij/usages/impl/UsageViewImplUtil
java.lang.NoClassDefFoundError: com/intellij/usages/impl/UsageViewImplUtil
at idea.jartool.actions.JarAction$2.run(JarAction.java:618)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:392)
at idea.jartool.actions.JarAction.createJar(JarAction.java:560)
at idea.jartool.JarEditor.actionPerformed(JarEditor.java:198)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6134)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5899)
at java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
at java.awt.Container.dispatchEventImpl(Container.java:2067)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: com.intellij.usages.impl.UsageViewImplUtil
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 32 more
Anonymous
04.11.2008
Greate tool, but I receive an exception when try to use it:

Deprecated method usage: ProjectImpl.getProjectFilePath().
This method will cease to exist in IDEA 7.0 final release.
Please contact plugin developers for plugin update.
java.lang.Throwable
at com.intellij.openapi.project.impl.ProjectImpl.getProjectFilePath(ProjectImpl.java:19)
at idea.jartool.actions.CreateJarAction$1.run(CreateJarAction.java:51)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:127)
at idea.jartool.actions.CreateJarAction.actionPerformed(CreateJarAction.java:47)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:104)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:102)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:108)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:146)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.Throwable
at com.intellij.openapi.project.impl.ProjectImpl.getProjectFilePath(ProjectImpl.java:19)
at idea.jartool.actions.CreateJarAction$1.run(CreateJarAction.java:51)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:127)
at idea.jartool.actions.CreateJarAction.actionPerformed(CreateJarAction.java:47)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:104)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:102)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:108)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:146)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


I used the v7.19 of the tool and IDEA v7.04
Anonymous
06.05.2008
Great tool but ...
When I use it on OS X, IntelliJ 7.03, build #7757, the plugin hangs IntelliJ when opened directly.

I get this error:

Bad version number in .class file [Plugin: Jar Tool]
com.intellij.diagnostic.PluginException: Bad version number in .class file [Plugin: Jar Tool]
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:2)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:50)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:29)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:90)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:162)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:5)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:235)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:24)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:3)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:131)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:136)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:132)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:128)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:104)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:75)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:42)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:80)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:75)
... 18 more

Anonymous
20.03.2008
i add Class-Path into Manifest, i want to
set the Class-Path=./config/
but the MANIFEST.MF is :

Class-Path: ./config/;

why add a char ";" ,is it a bug?

Anonymous
18.12.2007
Hi, nice plugin, however I can't get libraries working. When I click on Library tag, I see nothing. Libraries are set in my project correctly. Moreover, the table with libraries in libraries tab seems to be frozen somehow (sorting by columns doesn't work). Other things works, .jar is generated, but with no libraries...
16.12.2007
IDEA 7 Version is uploaded, the latest version is not working with IDEA 6 due to the API changes. Those who work on IDEA 6, please download the previos version (6.x)
Anonymous
02.02.2007
Not sure this is working with the latest IDEA:
Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(1248,499),absolute(1248,499),
button=1,modifiers=Button1,clickCount=1] on frame0:
Argument 0 for @NotNull parameter of com/intellij/psi/search/GlobalSearchScope.moduleWithDependenciesScope must not be null
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/search/GlobalSearchScope.moduleWithDependenciesScope must not be null
at com.intellij.psi.search.GlobalSearchScope.moduleWithDependenciesScope(GlobalSearchScope.java)
at idea.jartool.ClassSelectionPanel.selectMainClass(ClassSelectionPanel.java:1143)
at idea.jartool.ClassSelectionPanel.actionPerformed(ClassSelectionPanel.java:947)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:42)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:73)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

IDEA Build 6.0.4
Anonymous
18.11.2006
greate plugin ... thanks for the Idea 6 update
Please  sign in  to leave a comment.