• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling application on different platform ?

 
Vinay Singh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Tyler Lebowski
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic