• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cross Compilation in Eclipse  RSS feed

 
Swapnil Shroff
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
 
Jay Damon
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!