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!

cagura
Posts: 10
Joined: Thu Feb 08, 2007 3:44 pm

Java .exe not displaying output

I have built a Java Product and selected the Application type to be console. However, my application is not displaying the output that i would expect to the screen.

Thanks,

Charles
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Charles,

I'm afraid that I don't really understand what is the problem you encounter. Could you please give me more details.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
cagura
Posts: 10
Joined: Thu Feb 08, 2007 3:44 pm

Under Java Products I have configured an Product "runapp.exe"

Under Settings I have the following configuration set.
Classpath: APPDIR\lib\myapp.jar
Main Class: com.company.prog.myApp
Application Type: Console
Single Instance: Selected
Set current directory to product folder: Checked
No Execution Level Information: Selected

When I run my application the normal way by invoking Java -classpath myapp.jar com.company.prog.myApp I see the output to the console screen.

When I invoke the runapp.exe I do not see any output to the screen even though I have the Application Type set to Console.
cagura
Posts: 10
Joined: Thu Feb 08, 2007 3:44 pm

This seems to be working now. I am not sure why it wasn't before. Maybe I just needed to reboot my system. Whatever the problem it seems to have corrected itself.

Thanks for the help.

Charles

Return to “Common Problems”