Hi Denis,

great, it is working. It compiles well it on kfreebsd-i386.

I looked at the build logs and found this line
   /usr/lib/jvm/default-java/bin/javac -source 5
which links to ecj
  /usr/lib/jvm/default-java/bin/javac -> /usr/bin/ecj

Since ecj understands the -source option there is no need anymore to change
the symbolic links.

Thanks again
Dominique


On Sun, Feb 20, 2011 at 3:08 PM, Denis Barbier <bou...@gmail.com> wrote:

Hello Dominique,
>
> You do not have to change anything, my patch works as is with
> default-jdk on all architectures.  A similar fix has already been
> applied months ago, see
>   http://git.debian.org/?p=collab-maint/vtk.git;a=commit;h=db81316
> We need this new one in VTK 5.6 because new files have been added into
> Wrapping/Java/vtk/, and they use Java 5 features.  The previous fix
> dealt with automatically generated Java files.
>
> I do not know how to best "emulate" architectures which do not default
> to openjdk; but you can try
>  # rm /usr/lib/jvm/default-java
>  # ln -s java-1.5.0-gcj /usr/lib/jvm/default-java
> Do not forget to reset this symlink when you have finished ;)
>
> Denis
>

Reply via email to