Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19300
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2012-10-13 13:07 -0700 |
| References | <ba723146-04af-433c-9b5b-8ca39828039f@googlegroups.com> |
| Message-ID | <8aeb4c0e-53ad-4bf3-afa3-d2ac769b8cbf@googlegroups.com> (permalink) |
| Subject | Re: I need to write Simple JAVA program to read and write from USB serial to use it with Arduino |
| From | Lew <lewbloch@gmail.com> |
sahm wrote: > I’m trying to write simple JAVA [sic] program that could send command to > Arduino board or read output from Arduino. > I tried java-simple-serial-connector library but I keep getting error. > And in Arduino web site they use gnu.io. classpath It's not a classpath. > witch I have no idea how to use it with java [sic] I can answer only part of this. To use any library with a Java program, typically one has that library in the form of a JAR file (file with name ending in ".jar", in ZIP file format and possessing certain contents; GIYF) that one includes in the classpath (GIYF). There are also language requirements to using libraries involving the 'import' directive. (TIYF: The Tutorial is Your Friend.) Download the library you need and include it in your classpath. Follow up here with the specific commands you use, exactly how you use them, and copied and pasted output if you need further help. Make sure you do the suggested research first. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I need to write Simple JAVA program to read and write from USB serial to use it with Arduino sahm <sahm007@gmail.com> - 2012-10-13 12:54 -0700 Re: I need to write Simple JAVA program to read and write from USB serial to use it with Arduino Lew <lewbloch@gmail.com> - 2012-10-13 13:07 -0700 Re: I need to write Simple JAVA program to read and write from USB serial to use it with Arduino Arne Vajhoej <arne@vajhoej.dk> - 2012-10-13 19:00 -0400 Re: I need to write Simple JAVA program to read and write from USB serial to use it with Arduino Martin Gregorie <martin@address-in-sig.invalid> - 2012-10-14 00:02 +0000 Re: I need to write Simple JAVA program to read and write from USB serial to use it with Arduino Knute Johnson <nospam@knutejohnson.com> - 2012-10-13 17:30 -0700 Re: I need to write Simple JAVA program to read and write from USB serial to use it with Arduino stledger@lanl.gov - 2012-10-15 11:24 -0700
csiph-web