Elycin
Posts: 4
Joined: Sun Mar 03, 2013 1:48 am

How to import Pi4j?

Thu Sep 12, 2013 1:21 am

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.

Image

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

Thanks, -Andrew

User avatar
clicky
Posts: 425
Joined: Thu Oct 25, 2012 7:34 am

Re: How to import Pi4j?

Thu Sep 12, 2013 11:56 am

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...

nomdediot
Posts: 52
Joined: Sat Feb 02, 2013 3:04 pm

Re: How to import Pi4j?

Sun Sep 15, 2013 8:13 am

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.

Joel

Return to “Java”