I have solved my problem. If anyone finds it again here is the change to do:
In makefile DefinePackage.mk where says
$(QUIET) if $(COMPILE_JAVA) $^ 1> $(@)-output 2>&1 ; then \
must says
$(QUIET) if $(COMPILE_JAVA) -d $(DEST_DIR)/$($(*)_DEST_DIR) $^ 1> $(@)-output 2>&1 ; then \
Bye.
-- ____ @@@@ Santiago Eibe Garcia <==> se@ware | ____ @ @ |__|_ |@ @@ @ e-mail: seibe@fi.upm.es |_|__|@ @ @ @ http://telemaco.ls.fi.upm.es __|_| @ @@@ @ |____ @ @ Facultad de Informatica. Tfno: +34-913367388 @@@ Dpto. Lenguajes, Sistemas e Ingenieria del Software.