On Tue, Aug 30, 2005 at 06:07:03PM +0000, Joerg Sommer wrote:
> Hi,
> 
> I will set up a package[1], that is written in Java. My question is, how
> to compile a java file? With javac or jikes? On which packages must my
> package depend to make it builds. I set Builddepends to jikes-kaffe |
> jikes-sablevm | java-compiler. Can I use javac as compile command or must
> I use jikes with this packages?

You should Build-Depend on a specific compiler. Using alternates only gives 
troubles
later as your build problems are not 100% reproducable.

When you wanna use kaffe just Build-Depend on kaffe. If your package uses ant
then it will find the right compiler for you automatically. Same when you use
java-gcj-compat-dev or free-java-sdk.

If your software dont uses ant or maven you can directly use the compiler
privided by your runtime. E.g. with kaffe just use /usr/lib/kaffe/bin/javac.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


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

Reply via email to