Jump to content

To connect Red Brick wit Java programe


niharika
 Share

Recommended Posts

Hello,

I am using eclispse for my project , and i am giving he whole path of the project.

for example : if my project is in D:\\wokspace\\MyProject, then i am gving the path of whole directory, plus the path of the source folder also, where my main class is.

 

Thanks for your reply

Link to comment
Share on other sites

I understand that you want to use Tinkerforge RED Brick API to connect to the RED Brick, or do you want to upload the Eclipse project and then start the Java program on RED?

 

In both cases:

if you start the Java program via command line, the "target" or "bin" folder must be part of the classpath (depends how your Eclipse project is set up), otherwise the classes are not found. If the Tinkerforge API is packed into a JAR, this must be in the classpath too.

 

If you start the main class out of Eclipse: does this work?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...