Page 1 of 1

How to import Pi4j?

Posted: Thu Sep 12, 2013 1:21 am
by Elycin
Ive searched around a bit, but nothing at all.
i have all the Pi4j Jars imported as libary, but yet the imports are showing as errors.


Anyone know what i am doing wrong on a Windows machine in eclipse?

Thanks, -Andrew

Re: How to import Pi4j?

Posted: Thu Sep 12, 2013 11:56 am
by clicky
I know this doesn't help a lot - but from what I see you have done everything you needed to. I have no idea why would end up with such error. Since you cropped your window snapshot I can't certainly say that imports are in file which is on the same project as references libraries (as that is only thing that springs to my mind in what I see). I can't see which file is selected In package explorer...

If that is of any help - it seems that you are on the right track...

Re: How to import Pi4j?

Posted: Sun Sep 15, 2013 8:13 am
by nomdediot
Hello Elycin,

On which OS are you working ? On Seven you may have problems to access some directories if you are not executing Eclipse as Administrator... I see that your workspace is in "C:\". Try to move your workspace in your personal documents ("C:\Users\YourName\Documents\....").

Let us known if it solve the issue.