Benjamin Mesing wrote:
> I want to build a package which requires Java 5. Therefore I
> build-depend on (sun-java5-jdk | sun-java6-jdk).

Please don't do this, just select one of them.

> 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, so it must always use the same
JDK.

Marcus



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to