Problem with Java Project - Advanced Installer Community

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!

Grayson
Posts: 1
Joined: Mon Mar 19, 2007 5:03 pm

Problem with Java Project

Hi,

I'm testing the Advanced Installer and I have some trouble to run my Java Swing GUI with the Advanced Installer. I try that for 6 hours now.

First I follow the Tutorial for Java Product step by step. I installed the generated msi on another pc and it worked fine.

Then I wanted to create an installer for my own GUI. I followed the steps of the Tutorial as well. But every time I install the generated msi I get the message "Couldn't find the the main class ....". The weird thing is, that the JRE settings provide the main class.

Could anybody give me some suggestions please?

greetz
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you use classes instead of jars please make sure you add to the "ClassPath" only the root folder to your project. For example "APPDIR\main\go.class" add just the APPDIR.

If this does not solve the problem please sent the AIP file (if not contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com so we can take a look.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”