Re: [javaCompiler-users] Compiled EXE closes immediately after execution
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-09-24 09:22:15
|
Cyber Legionnaire wrote: > I tried compiling the tests that come with the javaCompiler package and > I get the same problem :( Which test? What settings did you use to compile them? What happens on a simple "hello world" program? > I have the latest JDK and downloaded javaCompiler-0.8.zip. I've > configured javaCompiler to use my javac.exe. JDK doesn't matter; javac is only needed if you enable java 1.5 preprocessing. You really shouldn't use that if it looks like JavaCompiler doesn't work at all... > Anything else? Yeah, what operating system do you use? Do you have anything unusual? What size have the compiled executables? Have you changed something on JavaCompiler? ... Please try a simple "hello world" program first. This way we can find out if it's a problem with JavaCompiler or if there's an operating error. Marco > > > Marco Trudel wrote: >> Cyber Legionnaire wrote: >>> Hi, >>> >>> I've compiled some source files using JavaCompiler. The .EXE is created >>> but when I try to run it, I briefly see a blank console window and the >>> program terminates. No error message, no nothing. >>> >>> Is this something common? >> No... Never seen that myself... >> >> >>> I am missing something. >> Probably ;-) >> Remove all your code and restore it step by step. This way you can track >> down what causes it to exit... >> >> Or another idea; if you created a GUI app, enable the console and check >> for exceptions... >> >> >> Marco >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> javaCompiler-users mailing list >> jav...@li... >> https://lists.sourceforge.net/lists/listinfo/javacompiler-users >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users > > |