First test Java installation - 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!

gvorster
Posts: 1
Joined: Tue Feb 27, 2007 4:59 pm

First test Java installation

Hi,
Just downloaded the trial version and wanted to create an installation for
a Java Swing application

I selected the folder containing the Java files.
The installer automatically found the correct main class. In my case it is "main.Go"

I see it is automatically entered in the "Main Class" field.

I build and run the installation, a desktop icon is created.

When I double click it it says it cannot find main class main/Go.

Can anybody help me what I'm doing wrong?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Make sure you add to the "ClassPath" only the root folder to your project. For example "APPDIR\main\go.class" add just the APPDIR.

Also we have a tutorial about how to crate a Java project, please see:
http://www.advancedinstaller.com/user-g ... -java.html

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

Return to “Common Problems”