<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><br></div>&nbsp; I received this same problem, but I compile using the DOS prompt, I think that is a Path problem, this my Path and Classpath links, try to chance , man.<br><br>

<p class="MsoNormal"><span style="" lang="EN-US">To execute: <o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">java<span style="">&nbsp; </span>-classpath .;c:\vtk\vtkbin\bin\vtk.jar myclass<o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">to compile:<span style="">&nbsp; </span>javac<span style="">&nbsp; </span>-classpath c:\vtk\vtkbin\bin\vtk.jar myclass.java<o:p></o:p></span></p>



<p class="MsoNormal"><span style="" lang="EN-US"><o:p>&nbsp;</o:p><br>Path:<o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">C:\Arquivos
de programas\Java\jdk1.6.0_01\bin;C:\Arquivos de
programas\Java\jre1.6.0_01\bin;C:\Arquivos de programas\VTK
5.0\bin;C:\VTK\VTKBin\bin\debug\;<o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US"><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">CLASPATH:<o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">c:\vtk\vtkbin\bin\debug;<span style="">&nbsp;&nbsp; </span><o:p></o:p></span></p>

My errors was in execution time, when I put <span style="" lang="EN-US">the path to ...\jre1.6.0_01\bin&nbsp; the problems stopped.&nbsp;&nbsp; <br>I wish a good luck for you.<br>bye bye. </span><br>&nbsp;&nbsp; <br><br><hr id="stopSpelling">&gt; Date: Fri, 31 Aug 2007 04:12:39 -0700<br>&gt; From: amorenoher@gmail.com<br>&gt; To: vtkusers@vtk.org<br>&gt; Subject: [vtkusers] Java + VTK + SWT + eclipse integration<br>&gt; <br>&gt; <br>&gt; I'm successfully integrated VTK in a Eclipse Java project using and SWT<br>&gt; Shell. <br>&gt; http://www.nabble.com/file/p12424503/vtk04.png <br>&gt; <br>&gt; But when I try to do the same integration in a Eclipse editor:<br>&gt; Source:<br>&gt; public class VTKEditor extends EditorPart {<br>&gt; <br>&gt;         public void createPartControl(Composite parent) {<br>&gt;                 Composite composite = new Composite(parent, SWT.EMBEDDED);<br>&gt;                 parent.setLayout (new FillLayout ());<br>&gt;                 Frame frame = SWT_AWT.new_Frame(composite);<br>&gt;                 frame.add(new vtk.vtkPanel());      // commenting this line, All runs<br>&gt; perfect but without VTK:-P<br>&gt;                 frame.setBackground(Color.BLUE);<br>&gt;         }<br>&gt;               ...............................<br>&gt;               ...............................<br>&gt;               ...............................<br>&gt;               ...............................<br>&gt; <br>&gt; All runs perfect until I load the VTKEditor (using exactly the same project<br>&gt; configuration and dependencies)<br>&gt; <br>&gt; I get this error:<br>&gt;       java.lang.NoClassDefFoundError: vtk/vtkPanel<br>&gt;               ...............................<br>&gt;               ...............................<br>&gt;               ...............................<br>&gt;               ...............................<br>&gt; <br>&gt; http://www.nabble.com/file/p12424503/vtk02.png <br>&gt; <br>&gt; And deleting the line where vtlPanel is created...<br>&gt; http://www.nabble.com/file/p12424503/vtk03.png <br>&gt; <br>&gt; Could anyone help me???<br>&gt; <br>&gt; thank you in advance<br>&gt; Alejandro<br>&gt; -- <br>&gt; View this message in context: http://www.nabble.com/Java-%2B-VTK-%2B-SWT-%2B-eclipse-integration-tf4359535.html#a12424503<br>&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>&gt; <br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list. <br>&gt; Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br><br /><hr />Encontre o que procura com mais eficiência! Instale já a Barra de Ferramentas com Windows Desktop Search GRÁTIS! <a href='http://desktop.msn.com.br/' target='_new'>Experimente já!</a></body>
</html>