[vtk-developers] How can I increase java compiler heap size from cmake

MARTIN GELEYNSE mpgeleynse at rogers.com
Tue Nov 24 16:20:45 EST 2009


I am having a little trouble compiling vtk with java wrapping using MinGW on windows.
I am using jdk1.5. Almost everything compiles but when I get to java/vtk/vtkBuildAllDriver.java
javac runs out of memory. I have manually edited the makefile (build.make) to increase the heap
size to 128M and it then works. However, since build.make is generated this is only a temporary
fix.

Is there a way to specify a javac option ( -J-Xmx128m in this case) through cmake?

Martin Geleynse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20091124/143c74d1/attachment.html>


More information about the vtk-developers mailing list