Re: serialtoethernet-Why doesn't work?
"Weekend Students" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hi Bruno, Thanks for your response. "serialtoethernet" application is for host. As mentioned in Tinifolder\examples\CommTester\Readme.txt, Seria.class must be run on PC. The application to be run on TINI is "CommTester.class" (after converted CommTester.tini) CommTester.tini is running on TINI. But to communicate server application, another application(Serial.class) should be run on host PC. I thing, I can not refer true "jar" file for "Serial.class" in my execution environment. But which one? >From: "Bruno De Maesschalck" <bdm-RpcvRvqqnhdWk0Htik3J/[email protected]> >To: "Weekend Students" <[email protected]> >Subject: Re: [TINI]serialtoethernet-Why doesn't work? >Date: Sun, 25 Jan 2004 09:28:38 +0100 > >No time to check it completely. >But you are trying to run the serialtoethernet on your host computer. That >won't work. >The error message says that it doesn't find the Serial class. >It's not in your classpath. > >But anyway you should run the program as a *.tini on your TINI board >instead >of on your host computer. > >B. > > > > I'm working with TINI 80C400 board,TINI 1.1,JSDK 1.2.2,javacomm 2.0 > > > > I have attempted to run "serialtoethernet" java application included in >TINI > > examples. > > When I execute code on host machine I get below message. What is the >wrong? > > What should I do? > > > > I'll be appreciated for prompt response... > > > > ********************************************** > > C:\tini\examples\CommTester\Host\bin\serialtoethernet>java Serial > > Exception in thread "main" java.lang.NoClassDefFoundError: Serial (wrong > > name: > > serialtoethernet/Serial) > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(Unknown Source) > > at java.security.SecureClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.access$100(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > > ***************************************************** > > (p.s:I have also tried "java serialtoethernet.Serial". The result was >same) > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > TINI mailing list > > TINI-6tN4nzCoH/[email protected] > > To UNSUBSCRIBE, edit your profile, or see list archives: > > http://lists.dalsemi.com/mailman/listinfo/tini > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini