Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Packaging .txt, .doc, and images into a runnable jar
Packaging .txt, .doc, and images into a runnable jar [message #502269] Mon, 07 December 2009 09:47 Go to next message
Eclipse UserFriend
So here's what I have: an image, a word document, and java classes.

I would like to export all of these things into a 'single' runnable .jar file. When I choose to export as a runnable .jar I don't have the option to select multiple components.

Is there a way around this, a trick perhaps that I am missing? I am fairly new to the Eclipse IDE and might have easily missed something.

[Updated on: Mon, 07 December 2009 09:47] by Moderator

Re: Packaging .txt, .doc, and images into a runnable jar [message #503262 is a reply to message #502269] Fri, 11 December 2009 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Peter Atoria wrote:
> So here's what I have: an image, a word document, and java classes.
>
> I would like to export all of these things into a 'single' runnable
> .jar file. When I choose to export as a runnable .jar I don't have
> the option to select multiple components.
What do you mean by "multiple components"?

Dani
>
> Is there a way around this, a trick perhaps that I am missing? I am
> fairly new to the Eclipse IDE and might have easily missed something.
Re: Packaging .txt, .doc, and images into a runnable jar [message #503266 is a reply to message #502269] Fri, 11 December 2009 11:12 Go to previous messageGo to next message
Eclipse UserFriend
Basically I have:

A Microsoft Word Document which opens as an instruction manual
An image that I use for the splash screen
The class and other source files (not a problem here)

I want to package them all into 1 .jar file which will be able to be executed by a user.
Re: Packaging .txt, .doc, and images into a runnable jar [message #503462 is a reply to message #503266] Mon, 14 December 2009 05:33 Go to previous message
Eclipse UserFriend
So, why not simply JAR them all together?

Or do you mean you want to package them so that the non-class files open
on double-clicking the JAR? In this case, your application's main class
will have to do this explicitly.

Steffen

Peter Atoria wrote:
> Basically I have:
>
> A Microsoft Word Document which opens as an instruction manual
> An image that I use for the splash screen
> The class and other source files (not a problem here)
>
> I want to package them all into 1 .jar file which will be able to be
> executed by a user.
Previous Topic:Custom Wizard use in Eclipse
Next Topic:Java Editor: Typed characters show as garbage, randomly
Goto Forum:
  


Current Time: Tue Apr 15 03:01:37 EDT 2025

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

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

Back to the top