<DIV>Hi userīs !!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Iīve been trying to compile my first example with ITK (1.8) and Java (j2sdk1.4.2_05) on Win2K. </DIV>
<DIV>&nbsp;</DIV>
<DIV>my paths are:</DIV>
<DIV>&nbsp;</DIV>
<DIV>ITK source - C:\Insight</DIV>
<DIV>ITK&nbsp;Bin - C:\Insight_bin</DIV>
<DIV>&nbsp;</DIV>
<DIV>INCLUDE ( in system variable )</DIV>
<DIV>.;c:\VTK_bin\java\vtk.jar;</DIV>
<DIV>C:\VTK_bin\bin\debug\;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit.jar;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit\;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\InsightToolkit;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit\;</DIV>
<DIV>C:\j2sdk1.4.2_05\jre\bin</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>LIB ( in system variable )</DIV>
<DIV>.;c:\VTK_bin\java\vtk.jar;</DIV>
<DIV>C:\VTK_bin\bin\debug\;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit.jar;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit\;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\InsightToolkit;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit\;</DIV>
<DIV>C:\j2sdk1.4.2_05\jre\bin</DIV>
<DIV>&nbsp;</DIV>
<DIV>PATH ( in system variable )</DIV>
<DIV>C:\j2sdk1.4.2_05bin\;</DIV>
<DIV>.;C:\VTK_bin\java\vtk.jar;</DIV>
<DIV>C:\VTK_bin\bin\debug\;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit.jar;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit\;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\InsightToolkit;</DIV>
<DIV>C:\Insight_bin\Wrapping\CSwig\Java\Debug\InsightToolkit\;</DIV>
<DIV>C:\j2sdk1.4.2_05\jre\bin</DIV>
<DIV>&nbsp;</DIV>
<DIV>My example:</DIV>
<DIV>&nbsp;</DIV>
<DIV>//*********************************************************************************</DIV>
<DIV>import InsightToolkit.*;</DIV>
<DIV>public class TestItk{</DIV>
<DIV><BR>&nbsp; public static void main(String argv[])<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / /if i remove this line below the program compile OK</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; ImageFileReaderF2 reader = new ImageFileReaderF2();</DIV>
<DIV>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;<BR>&nbsp; }<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>//*********************************************************************************<BR></DIV>
<DIV>When i complied i receive this error !!!! </DIV>
<DIV>How can i use ITK and Java ??? I need some examples too !!! </DIV>
<DIV>Tanxs a lot for your help !!!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>C:\&gt;javac TestItk.java<BR>TestItk.java:9: cannot resolve symbol<BR>symbol&nbsp; : class ImageFileReaderF2<BR>location: class TestItk<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageFileReaderF2 reader = new ImageFileReaderF2();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<BR>TestItk.java:9: cannot resolve symbol<BR>symbol&nbsp; : class ImageFileReaderF2<BR>location: class TestItk<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageFileReaderF2 reader = new ImageFileReaderF2();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<BR>2 errors</DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com