Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can anyone be so helpful as to point me out some comparison between the different Java compilers out there. I am interrested in which one gives me the best performance, and memory is more important to me than computation speed.
I have always used sun's compiler as an old habit, but maybe it's worth checking out the alternatives? What are the benefits of using a particular compiler, and what about incompatibility issues (I'm sure there are...).
Any pointers are welcome.
As I understand it, I haven't tested this much, gcj is decent but not there yet.
I remember the pains RedHat went through to get eclipse to compile with gcj. It's just beginning to be a valid alternative in the new experimental gcc 4 branch. On top of it all, eclipse runs slower using it compared to compiling with javac or jikes, which means it isn't quite as good.
jikes is faster than javac, tends to generate better error messages as well. It's mostly compatible flag-wise with javac, and supports the whole language as far as I know. It's kind of a drop-in replacement for javac. In my experience it's faster than javac by quite a bit. I haven't benchmarked to see if the code it generates if faster or slower, but regardless it isn't noticeably different. I don't know of any major differences in memory use.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.