<div dir="ltr">Jerry - did you get this working?<div><br></div><div>The JAVA_JVM_LIBRARY error is straightforward to sort out by manually pointing Cmake to (in my case) C:/Program Files/Java/jdk1.7.0_25/lib/jvm.lib (you'll need to click on the 'Advanced' check box to show the JAVA_JVM_LIBRARY variable in the cache window.</div>
<div><br></div><div>However, for me a least this does not solve <span style="font-family:arial,sans-serif;font-size:13px"> this error:</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">1> CMake Error at Wrapping/Generators/</span><span style="font-family:arial,sans-serif;font-size:13px">Java</span><span style="font-family:arial,sans-serif;font-size:13px">/</span><span style="font-family:arial,sans-serif;font-size:13px">CMakeLists.txt:39 (list):</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><div>1> list sub-command REMOVE_ITEM requires list to be present.</div><div><br></div><div>Looking in the CMakeLists.txt file that's mentioned in the error there is a 'TODO' comment around this statement so I presume it is incomplete in some way?</div>
<div><br></div><div style>Is this a fatal error? Can I build ITK with Java wrapper successfully despite this?</div><div style><br></div><div style>I have generated the build and then opened the solution in VS 2012 but it has not gone past 'Testing Build...' in over 2 hours...</div>
<div style><br></div><div style>Thanks</div><div style>Mat</div><div style><br></div><div><br></div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 June 2013 17:06, Jerry <span dir="ltr"><<a href="mailto:65104355@qq.com" target="_blank">65104355@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>Hi all,</div><div><br></div><div>CMake reports this error for ITK 4.4 with JAVA wrapper enabled.</div><div>Environment: Win7 SP1 x64, CMake 2.8.10.2, Visual Studio 2012 Update 2, ITK 4.4</div><div><br></div><div>
1> -- Checking for InitOnceExecuteOnce:</div><div>1> -- Performing Test InitOnceExecuteOnce - Success</div><div>1> -- Filter ZLIB is ON</div><div>1> -- Could NOT find JNI (missing: JAVA_JVM_LIBRARY) </div>
<div>1> CMake Error at Wrapping/Generators/Java/CMakeLists.txt:39 (list):</div><div>1> list sub-command REMOVE_ITEM requires list to be present.</div></div><div><br></div><div>Regards,</div><div><br></div><div>Jerry</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>