Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Jar file with all it's dependencies(I'm trying to create a jar file of a javafx application with all it's dependencies, but i don't know how?)
Jar file with all it's dependencies [message #1280778] Sun, 30 March 2014 23:21 Go to next message
Emerson Morgado is currently offline Emerson MorgadoFriend
Messages: 1
Registered: March 2014
Junior Member
Hi guys, I'm trying to package a javafx application into a single jar file, but with all it's dependencies on a single jar file, anyone can help-me, Im trying to generate using build.fxbuild but with no success.

Thanks
Re: Jar file with all it's dependencies [message #1281719 is a reply to message #1280778] Tue, 01 April 2014 08:57 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

So why does it have to be 1 jar file? The default way to ship JavaFX
application is to use the fx-packager tool coming with the JDK which
also includes the JRE and creates an installer (setup.exe, dmg, rpm/deb).

If you don't want to use an installer but createing a big jar (be aware
that this will not launch by default with JDK7!) then you can use the
eclipse export feature found in:

File > Export > Java > Runnable Jar

but once again I would not ship the product this way!

Tom

On 31.03.14 14:43, Emerson Morgado wrote:
> Hi guys, I'm trying to package a javafx application into a single jar
> file, but with all it's dependencies on a single jar file, anyone can
> help-me, Im trying to generate using build.fxbuild but with no success.
>
> Thanks
Previous Topic:eFX Tutorial 2 gives error results
Next Topic:Publishing to the Eclipse context using @ContextValue
Goto Forum:
  


Current Time: Thu Apr 25 17:41:52 GMT 2024

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

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

Back to the top