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!

etweb
Posts: 2
Joined: Fri Mar 23, 2007 4:25 am

Can't find Main Class

I have read other posts about this and I'm not getting something. I can get an installer to work for a simple package but when I include all of my libs on the Classpath it says it can't find the Main class when I run installer, even though it finds it during Java Product definition.

Please help I'm evaluating.
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.

Please let us know if the problem persist.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
etweb
Posts: 2
Joined: Fri Mar 23, 2007 4:25 am

I have seen this exact reply to other posts and I'm not sure what you are saying. I am using Jars first of all and they don't detect my main class (only in some cases) so I have to type it out. I have a jar for my app, and then I have several other jars in a lib directory included in the classpath.

I have tried several Main classes and then I created another jar that was only a single main class that worked. As soon as I put my other jars back in and Used the working single Main to call the original not working main it says that it can't find my new Main class... it was just working.

I would really like to purchase but I'm stuck. :shock:
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In order to investigate the problem please send the AIP file (if not contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com.

Waiting for your reply.

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

Return to “Common Problems”