Yesterday, Brendan O'Bra reported that he was getting the "can't find native definition" error because he was running on a machine that did not have X Windows installed, and the Java Virtual Machine was dying when it tried to load Swing. That would be a pretty wild coincidence if you were having the same problem, eh? But NoClassDefFound is usually a problem with your CLASSPATH or a classloader problem. "Can't find native definition" is the description for the UnsatisfiedLinkError. Can you copy the exact error message(s) you are seeing and post it here?
Mark > -----Original Message----- > From: Michel Bergijk [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 8:19 AM > To: [EMAIL PROTECTED] > Subject: Finding native-language definitions > > > Hello Jetspeed users, > > For proof of concept of portals I am trying to connect to a > system that is > available by our intranet. When I start a comparable program > from the prompt > the program can connect to that system. When I try to obtain > the same with a > portal, I get a java.lang.NoClassDeffFoundError. The JavaDoc > gives me the > following explanation of this error: > Thrown if the Java Virtual Machine cannot find an appropriate > native-language definition of a method declared native. > Now I know that when I start the program from the prompt, > native libraries > are used, stored as dll's in the c:\WINNT\system32 directory > (I work on a > Win2000 client platform, using the jetspeed-1.3a2 release). Will find > Apache/Tomcat/Jetspeed these libraries? It seems to me this > is not the case. > > > With regards, > > Michel Bergijk > ABAP/4 Engineer > CMG Oost-Nederland B.V. > Division Trade, Transport & Industry > Meander 901 > 6825 MH Arnhem > PO Box 7015 > 6801 HA Arnhem > The Netherlands > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > This e-mail and any attachments are confidential. If you are not the intended recipient, please notify us immediately by reply e-mail and then delete this message from your system. Do not copy this e-mail or any attachment, use the contents for any purposes, or disclose the contents to any other person: to do so could be a breach of confidence. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
