jQuery in Action, 3rd edition
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Compiling application on different platform ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Compiling application on different platform ?" Watch "Compiling application on different platform ?" New topic

Compiling application on different platform ?

Vinay Singh
Ranch Hand

Joined: Dec 15, 2004
Posts: 174
Hello Friends
I don't think this is the best place to put this question but I we have pretty experienced people here who might throw light on this.
I have an application developed on windows vista platform.
We have created the ear file and now deploying it on the linux server.
The java compiler turns the code into bytecode and this bytecode runs on linux.
My question is if I compile my application on different platform may be solrais or different jdk i.e IBM jdk instead of sun-windows jdk can I get a better performance ?

Technical quiz and interview questions   SCJP 6 mock practice test
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
It's very unlikely that the compiler makes a difference in runtime performance. Much more important is the JVM used at runtime, which performs the actual transformation to native code and optimization. I also doubt that switching runtime JVMs makes a bigger difference than upgrading server hardware, though, but it's something to look into (aside from IBM, BEA also has an alternative JVM called JRockIt).
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63874


There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
Tyler Lebowski

Joined: May 10, 2007
Posts: 24
Some JDKs promise better performance on some platforms, but the differences are most likely negligable.

Most of these vendor-specific and vendor-geared JDKs are developed in support of a product (e.g. an application server) and not necessarily a specific platform.

Oh, and by the way, I'm sorry you have to use Windows Vista.
I agree. Here's the link: http://aspose.com/file-tools
subject: Compiling application on different platform ?
It's not a secret anymore!