<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> 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=""> </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=""> </span>javac<span style=""> </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> </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> </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=""> </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 the problems stopped. <br>I wish a good luck for you.<br>bye bye. </span><br> <br><br><hr id="stopSpelling">> Date: Fri, 31 Aug 2007 04:12:39 -0700<br>> From: amorenoher@gmail.com<br>> To: vtkusers@vtk.org<br>> Subject: [vtkusers] Java + VTK + SWT + eclipse integration<br>> <br>> <br>> I'm successfully integrated VTK in a Eclipse Java project using and SWT<br>> Shell. <br>> http://www.nabble.com/file/p12424503/vtk04.png <br>> <br>> But when I try to do the same integration in a Eclipse editor:<br>> Source:<br>> public class VTKEditor extends EditorPart {<br>> <br>>         public void createPartControl(Composite parent) {<br>>                 Composite composite = new Composite(parent, SWT.EMBEDDED);<br>>                 parent.setLayout (new FillLayout ());<br>>                 Frame frame = SWT_AWT.new_Frame(composite);<br>>                 frame.add(new vtk.vtkPanel()); // commenting this line, All runs<br>> perfect but without VTK:-P<br>>                 frame.setBackground(Color.BLUE);<br>>         }<br>> ...............................<br>> ...............................<br>> ...............................<br>> ...............................<br>> <br>> All runs perfect until I load the VTKEditor (using exactly the same project<br>> configuration and dependencies)<br>> <br>> I get this error:<br>> java.lang.NoClassDefFoundError: vtk/vtkPanel<br>> ...............................<br>> ...............................<br>> ...............................<br>> ...............................<br>> <br>> http://www.nabble.com/file/p12424503/vtk02.png <br>> <br>> And deleting the line where vtlPanel is created...<br>> http://www.nabble.com/file/p12424503/vtk03.png <br>> <br>> Could anyone help me???<br>> <br>> thank you in advance<br>> Alejandro<br>> -- <br>> View this message in context: http://www.nabble.com/Java-%2B-VTK-%2B-SWT-%2B-eclipse-integration-tf4359535.html#a12424503<br>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>> <br>> _______________________________________________<br>> This is the private VTK discussion list. <br>> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>> Follow this link to subscribe/unsubscribe:<br>> 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>