Ebay Interview Question
Software Engineer / DevelopersCountry: United States
Interview Type: Phone Interview
Which code?
You should specify which code you want to run. It may happen that it may not give any error if it's pure java language code without referencing any external API, since java 1.6 didn't make any inherent changes in the java language itself (yes there were lot of other upgradations concerning GC and JVM optimizations but here we are talking about running the code on java 1.5).
If you want to compile the code on X env. and run on Y then you can specify the target and source options while using javac - explore javac more for this.
java error in runtime of Major minor version.
- JDev March 07, 2013