Re: Selecting a javac which supports at least Java5
[Please CC, I am not subscribed]
>>> How do I ensure, that the correct compiler is used.
>>> Is the only way, to explicitly set the java
>>> compiler path (i.e. /usr/lib/jvm/java-1.5.0/bin/javac
>> Yes, that is the only correct way. We must be sure that the package
>> builds with identical results on different systems,
> It's not so much that we need identical results, but the result must
> use the same ABI, which isn't true across major Java versions.
Couldn't this be achieved using the "-target 1.5" switch for the javac
compiler (even when using Java 1.6)?