<DIV>Hi users !!!!!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>I discovered my problem !!!! Now i just need more examples !!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>tanxs<BR><BR><B><I>Oliveira Marcelo &lt;marceloitk@yahoo.com.br&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<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 _______________________________________________<BR>Insight-users mailing list<BR>Insight-users@itk.org<BR>http://www.itk.org/mailman/listinfo/insight-users<BR></P></BLOCKQUOTE><p>
                <hr size=1><a href="http://br.rd.yahoo.com/mail/taglines/*http://br.acesso.yahoo.com/">Yahoo! Acesso Grátis</a> - navegue de graça com conexão de qualidade!