java application packaging by using advanced insatller - Advanced Installer Community
faustin
Posts: 4
Joined: Mon Jan 28, 2019 1:27 pm

java application packaging by using advanced insatller

Hello!
I have created a java application that uses database for storage of records in tables. While i was packing it, i manage to change from jar file to exe file format. But have problem that i need the quickly help especially through tutorial video since i follow many solution comments in this forum concerning the related problem but never work at all. The problem is to embed database with all tables in the exe file so as when installed to my customer computers there will be no need to install and configure database isolated, hence it should done it as the user install the set up. please i need your helpmy fellows in this i understand more tutorial videos if any one have it send it to me through my email nangukafaustin@gmail.com
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: java application packaging by using advanced insatller

Hello and welcome to our forums,

Please have a look on the following articles which I think you may find useful:

- SQL Script Tab

- Configuring Databases with SQL Scripts

Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
faustin
Posts: 4
Joined: Mon Jan 28, 2019 1:27 pm

Re: java application packaging by using advanced insatller

i have add Javaed jdk and Dervart ODBC Driver for MySQL in prerequisites in advanced installer and i added invoice.sql file in Folder and folder so as to make my created exe produced file from java to install and run database free independently. But as it near to finish the installation it enter into error like this: [SQLDriverConnect] {SQL_STATE: 08001}
[Devart][ODBC][MySQL]Cannot connect to server on host 'localhost':
No connection cpould be made because the target machine actively refused it
Socket Error Code: 10061($274D)

Your Help please
faustin
Posts: 4
Joined: Mon Jan 28, 2019 1:27 pm

Re: java application packaging by using advanced insatller

i had done some changes here but unfortunately the message is "ODBC Connect: Timeout exceed" i don't know how to fix it
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: java application packaging by using advanced insatller

Hello Faustin,

Please carefully follow our "How to test SQL connection parameters" article which I think you may find useful.

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

Return to “Common Problems”