niharika Geschrieben April 1, 2016 at 15:17 Geschrieben April 1, 2016 at 15:17 Hello , I want to connect the Red Brick with my java programe and I tried with some steps and getting the error the main class no found? Can ayone guide me hw i can connect it or what the error is for Thanks Niharika Zitieren
photron Geschrieben April 4, 2016 at 09:15 Geschrieben April 4, 2016 at 09:15 Can you explain more detail what you did? Did you upload a bunch of class files or a JAR file? If you put your own code into a package, did you also put the class files into the correct directory hierarchy? Zitieren
niharika Geschrieben April 4, 2016 at 12:44 Autor Geschrieben April 4, 2016 at 12:44 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 Zitieren
remotecontrol Geschrieben April 4, 2016 at 16:26 Geschrieben April 4, 2016 at 16:26 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? Zitieren
niharika Geschrieben April 5, 2016 at 12:33 Autor Geschrieben April 5, 2016 at 12:33 Hello, I am using this link and following all the steps from 1 to 8 http://www.tinkerforge.com/en/doc/Tutorials/Tutorial_RED_Brick/Tutorial.html#tutorial-red-brick path that i am giving is whole directory where only this project is defined. I had already added the tinkerforge Jar in my eclipse project. Thanks Niharika Zitieren
remotecontrol Geschrieben April 5, 2016 at 19:25 Geschrieben April 5, 2016 at 19:25 Can you post the configuration you use (how is it called on the RED)? Are you able to start the program from the command line on the PC where you have your Eclipse? Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.