wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Compiling application on different platform ?" Watch "Compiling application on different platform ?" New topic
Author

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 ?
Thanks


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

Joined: Mar 22, 2005
Posts: 41155
    
  45
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).


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

"Vinay",

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.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tyler Lebowski
Greenhorn

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Compiling application on different platform ?
 
Similar Threads
Is JDK same for all platforms(windows,unix,mac) or is it different for different operating systems.
will my linux class files work on solaris
Platform interdependency and portability of Java programs
About JVM
Tomcat is stand alone