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!

Tsyklop
Posts: 1
Joined: Sat May 14, 2022 11:47 pm

Failed to load main class

I cannot start my application with JavaFX. Tutorals from forum readed and did not helped me.

Java 8.

And when I start exe file got error: Failed to load main class.

jar launched fine.

Why it happends?

v19.1
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Failed to load main class

Hello and welcome to our forums,

Unfortunately, I can not say for sure why this is happening.

In order for me to further investigate this, could you please forward me the following resources:

- a copy of your .AIP file

- a download link for the setup (the EXE/MSI you build using the Advanced Installer Project file)

by e-mail at support at advancedinstaller dot com?

Additionally, if possible, could you please also forward me a step-by-step test-case on how you test this outside of Advanced Installer?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”