Re: [javaCompiler-users] Compiler "Install"
Status: Beta
Brought to you by:
soapy
From: xxxxxxxxxxxxxxxxxxxx x. <hul...@ya...> - 2007-01-16 22:37:12
|
Hey Marco, solved the problem!! A few weeks ago I was messing with my cygwin install to get something working. I managed to do what I wanted to do, but as part of what I did I put a library file into the classpath (this time classpath is right!). That's what did the screwing up!! Removed it from the classpath now and jnc seems to work fine now. I could start the GUI and my manually compiled helloWorld app worked fine as well. So I reckon that's all of my problems solved. I'm working on an image-transforming app right now, so having a swing compatible native compiler like jnc is really useful. Before that I was mainly programming mathematical apps for research groups etc, so never had to deal with swing - mathematicians don't like pretty windows! Thanks for providing help on this one. And good work on jnc - keep it up All the Best Peter Marco Trudel <mt...@gm...> wrote: Hey Peter Can you please hit "Reply all"? Else we loose the mailing list. xxxxxxxxxxxxxxxxxxxx xxxxxxxxxx wrote: > Ok, did the manual compiling of a HelloWorld program and presto: > > All of the compiling seems to work fine, but when I then want to run my > HelloWorld app I get the same error I get when I try to start the > AutoCompiler: > > "Exception during runtime initialisation > > This application has requested the runtime to terminate it in an unusual > way. > Please contact the application's support team for more information" Stupid! How did you compile? Did you enable optimization? Stripping? Adding debug info? Can you try a couple of different compilations? How much knowledge do you have with gcc and alike? Do you know how to add debuging information and run it in gdb? > So, for some reason my computer doesn't like files that have been > compiled with that jnc gcj.exe. Have you tried your compiled exe on another computer? > I was wondering whether my computer just starts loosing it, but if I > compile the same Hello World source code with my standard > cygwin-in-built gcj, everything works fine. Well, my gcj is built for mingw, but that really doesn't make a difference. Because it works on hundred of other computers (probably a lot of XP Homes), I assume it has something to do with your computer. What version is the cygwin gcj? > So, it is actually something about the jnc gcj.exe ...... can't really > think of something that my computer could do to "break" the jnc gcj > ..... any ideas? Hm. A compiled binary on windows uses ADVAPI32.dll, KERNEL32.dll, msvcrt.dll, USER32.dll and WS2_32.dll. Maybe you screwed one of these up? I really can't say anything better than to try on another computer. Sorry... Marco --------------------------------- Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. |