Re: [javaCompiler-users] Hi
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-07-19 07:47:24
|
Hello Mufaddal Depending on the effort you're willing to invest, you will be able to compile it. The first problem is swing. Check the second question in the faq: http://javacompiler.mtsystems.ch/more_info.html -> FAQ. The second problem are the mustang-only classes. Most likely, this will not be a problem. Just create a new jar with these classes (they're in JAVA_HOME/lib/rt.jar) and satisfy the depencies. Now hope that these are pure java classes (nothing native or other fancy stuff) and add this jar to the compilation project. I've done the same with not supported Java 1.5 classes. As I said, depending on the effort you're willing to invest, it will work. If it's really important, you can get it working... As for the other utilities, you might try exelsior jet (http://www.excelsior-usa.com/jet.html). Actually I don't like it because: - it's very expensive - compiled applications need a runtime to be shipped with that's about 50mb on windows and about 80mb on linux if I remember right... Thus, for me it's absolutely useless. That's exactly why I started javaCompiler. Ah yeah, it will only solve the swing problem. For the mustang java classes, you'll have to do the same as described above. regards Marco PS: From now on, I'll CC the javaCompiler users mailinglist with such requests, because the right place for discussions like this would be there. Mufaddal Khumri wrote: > Marco, > > I am new to GCJ / JavaCompiler. I have been given a task to write a > java swing app using Java Mustang. The app uses classes like > SystemTray available in Mustang which is not available in java 1.5 > > Now my question is will i be able to compile this swing app using > javacompiler? If not do you know what other utilities are out there > that would allow me to do so? > > Thanks, > Mufaddal. > > |