Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Cross Compilation in Eclipse  RSS feed

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two related questions here.

1. How to achive cross compilation in eclipse.
i want to use Java 5.0 file and produce a target compatible to 1.3.1_19

2. Is there any performance gain if i do cross compilation like using Java 5.0 to compile for target compatibility as 1.3. Instead of using jdk 1.3 to compile.

Thanks in advance
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Look at the Java Compiler Preferences. you should be able to set Compliance options there although not as specific as 1.3.1_19. Note this does not apply to J2EE. J2EE is controlled by a separate version preference.

2. I do not have an answer for this. One would think that performance would be at least as good if not better. You might try measuring performance yourself and/or comparing the bytecode generated.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!