Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can eclipse create a .jar file?
Can eclipse create a .jar file? [message #89873] Thu, 28 July 2005 06:02 Go to next message
Eclipse UserFriend
Originally posted by: seanmc42.hotmail.com

I have a simple .class file - a Java app.
Can Eclipse package this into a .jar file
for me - and also create the manifest file
so that I can simply double-click on the
resulting .jar file in windows to run it?

Thanks!
Re: Can eclipse create a .jar file? [message #89901 is a reply to message #89873] Thu, 28 July 2005 06:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: weconsul.ptd.net

exquisitus wrote:
> I have a simple .class file - a Java app.
> Can Eclipse package this into a .jar file
> for me - and also create the manifest file
> so that I can simply double-click on the
> resulting .jar file in windows to run it?
>
> Thanks!

You can do this by using the File \ export menu option.

In the Eclipse Help do a search for 'export manifest file'.

--


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
____________________________________________________________ ______________

' If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: Can eclipse create a .jar file? [message #90100 is a reply to message #89873] Thu, 28 July 2005 14:45 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"exquisitus" <seanmc42@hotmail.com> wrote in message
news:dc9sep$sqe$1@news.eclipse.org...
> I have a simple .class file - a Java app.
> Can Eclipse package this into a .jar file
> for me - and also create the manifest file
> so that I can simply double-click on the
> resulting .jar file in windows to run it?
Yes, it can I wrote a small article on that :
http://eclipse.techforge.com/index.php/articles/150
In some cases you want the help of FatJar to make your Jar executable.
Re: Can eclipse create a .jar file? [message #155901 is a reply to message #89901] Wed, 07 June 2006 14:11 Go to previous message
Eclipse UserFriend
Originally posted by: banslow.us.ibm.com

Hi,

I have a similar problem, the project (should) produce several jar files,
which are used by other parts of the project, and other projects.

Using "Export" is a somewhat manual process, I have to edit directories,
what to include, jar file name etc. for each file I want to produce.

Is there no way I can get the jar file to be built "automagically"? I have
other IDE's that can do this.

I have Eclipse 3.1.2 installed.

Thanks,

Bryan.


"IchBin" <weconsul@ptd.net> wrote in message
news:dc9v1j$vac$1@news.eclipse.org...
> exquisitus wrote:
>> I have a simple .class file - a Java app.
>> Can Eclipse package this into a .jar file
>> for me - and also create the manifest file
>> so that I can simply double-click on the
>> resulting .jar file in windows to run it?
>>
>> Thanks!
>
> You can do this by using the File \ export menu option.
>
> In the Eclipse Help do a search for 'export manifest file'.
>
> --
>
>
> Thanks in Advance...
> IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
> ____________________________________________________________ ______________
>
> ' If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)
Previous Topic:Eclipse don't getting started
Next Topic:cannot drag a file
Goto Forum:
  


Current Time: Wed Jul 17 18:40:36 GMT 2024

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

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

Back to the top