Java web application gets blocked after I deploy it to .exe - 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!

LePhleg
Posts: 2
Joined: Tue Mar 29, 2011 10:20 am

Java web application gets blocked after I deploy it to .exe

Hello everyone,

I just finished one of my first java applications (a translator using Google translate) and i wanted to share it with my friends, so I tried to make an installation for it with AI.
I built an java installation without a problem. The problem comes up when I try to run the executable file (.exe) the installation creates.
My app comes up with all its GUI fully loaded, with the buttons and menus responding ok, but when I try to translate a text the application doesnt show the result as it was meant to do.

If I try to run the .jar file located in the installation directory from cmd, the app works fluently, translating everything. So I think something is going wrong with the .exe file (it doesnt allow the application to contact the server or something). What can I do? Is there a way to fix this...? :(

Thx in advance
Last edited by LePhleg on Tue Mar 29, 2011 12:04 pm, edited 1 time in total.
LePhleg
Posts: 2
Joined: Tue Mar 29, 2011 10:20 am

Re: My .jar gets buggy after is deployed to .exe

I just used Wireshark to capture my internet activity to check whats wrong. Indeed the application doesn't send or receive any packets when running from .exe...
How can I fix this? Doesnt AI support web applications?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Java web application gets blocked after I deploy it to .exe

Hi and welcome to the Advanced Installer Forums,

Advanced Installer supports installing any Java application. To resolve this issue and find the reason behind this behavior you should debug your application, perhaps using a log.

One of the differences between running the application manually and from the .EXE could be the current directory. Here is a similar thread that may help you.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”