-
February 3rd, 2012, 10:52 AM
#1
RXTX Import Help
Hi all,
I am having major problems trying to add the RXTX package to eclipse so I can read/write to a microcontroller. I’ve followed many different installation guides online but no success. The import gnu.util.*; never imports. I’ve already installed the files to the correct places as the guides say:
RXTXSerial.dll -> C:\Program Files\Java\jre1.6.0_05\bin
RXTXcomm.jar -> jre1.6.0_0_04 and jre1.6.0_05 choose jre1.6.0_05
Please help I am using Eclipse and jdk1.6.0_23
Many Thanks,
Edward Francis
-
February 3rd, 2012, 12:22 PM
#2
Re: RXTX Import Help
Have you added the jar to your Eclipse projects classpath?
-
February 3rd, 2012, 03:17 PM
#3
Re: RXTX Import Help
Err..... How do I do add the classpath in eclipse?
I tried to edit the java path in the system enviromental variables but this ruined my eclipse and I had to restore.
Sorry I am relatively new to java/eclipse, this is the first time i've imported an package
Regards,
Ed
-
February 4th, 2012, 07:05 AM
#4
Re: RXTX Import Help
Have you tried reading the Eclipse help file?
Right click on your project in the package window, select "Build Path", select "Configure Build Path". When the panel appears add your Jar file.
-
February 4th, 2012, 01:16 PM
#5
Re: RXTX Import Help
Thank you keang for your help I tried this but it still didn't work.
However it did led me to discover that I stupidly put the files in Program Files/ Java.....
instead of Program Files(x86)/java.....
simple mistakes cause major problems eh!
Thanks again,
Ed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|