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!

sailingboarder
Posts: 1
Joined: Tue Dec 12, 2006 3:36 am

java program without main class

i am trying to build a script to install a java program that uses jre1.6.0
i want to bundle the jre with my application
however, since i used the netbeans platform to develop my app, it already has a .exe launcher, so it does not need to start from the main class
how can i include the jre, but install like a normal program and not a java class?
please help me, this is for a school project that is due tomorrow
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I'm not very familiar with the net beans launcher. How exactly the net beans launcher find the java version used to run your main class?

You can try to put the net beans launcher with all its configuration files in the "Files and Folders" page next to your jar file.
but install like a normal program and not a java class?
A java program always has a class with a main function. Maybe net beens hide it from you but she exist.

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

Return to “Common Problems”