We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

alin
Posts: 3
Joined: Mon May 27, 2013 9:49 pm

Installer for JavaFX applications

Hey guys,

I'm evaluating your installer, but I don't seem to be getting anywhere with it. I need to package a JavaFX application for distribution. Right now I'm using the Netbeans ant mechanism and it works fine, but I need more functionality, which your software promises... if I can get it to work. I may be doing something wrong, but I have to ask, does it work with JavaFX applications?

Thank you,

Alin Mazilu
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer for JavaFX applications

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

We do not have a predefined support for JavaFx applications. (e.g. we do not automatically add to the package JavaFX specific libraries).

Can you please give us more details about your miss understands from our documentation.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
alin
Posts: 3
Joined: Mon May 27, 2013 9:49 pm

Re: Installer for JavaFX applications

Hi,

Thanks for your reply. I don't think I misunderstand the documentation. A JavaFX application is just like any other Java application but it requires that JavaFX be present in the JRE. I can make sure of that by bundeling my own JRE 7 but when I go through the process I get "Main class not found" or something like that. Could it be that I'm doing something wrong?

Alin
alin
Posts: 3
Joined: Mon May 27, 2013 9:49 pm

Re: Installer for JavaFX applications

OK, I just solved it. I'm posting this just in case someone else needs it in the future.

First of all the main JavaFX class must have the main method

Code: Select all

public static void main( String[] args ) {
launch(args)
}
then in the Java Products page of the installer you must have a reference to the jfxrt.jar

It will work like a charm. I like this installer now :)

Alin
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer for JavaFX applications

Hi Alin,

I'm glad you got this working.

Thank you for sharing this with us. I'm sure this will help future users in the same situation.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kwesiaryee
Posts: 1
Joined: Thu Aug 14, 2014 12:07 pm

Re: Installer for JavaFX applications

Hi, I just started evaluating your product and so far its launched my javafx application but without the preloader. Please can you help me on how to do this .i.e so that the preloader loads gracefully (it doesnt load at all until the application itself shows for almost 40 seconds)
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Installer for JavaFX applications

Have you tried to do some logging in your application, to see what is "does" until the preloader is launched?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”