• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Compiling application on different platform ?

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic