This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
This errors is just because your class path is not configured correctly.
This code means PbandPackage must be at same level as Test Class. Means : -Test.class -PbandPackage-Tools.class
or you can include class files in Project Class path : Project Properties -> Build Path -> Libraries -> Add Class Folder and Select Folder where you PbandPackage contains class file.
and now run your Tools.java file.
But in case of Eclipse its very easy to create a Java Project. 1. Create a new Java Project 2. Create src folder for your project. 3. Create packages. 4. Import required classes by Pressing Ctrl + O 5. run your programs.
Joined: Dec 18, 2002
Originally posted by Prosenjit Banerjee:
I have added the following build path to my project in eclipse: c:\abcd\efgh
But even doing so I cannot run the Test.java from eclipse.
So, as I told, I added the path in the Build path. Still it does not run. Please tell me where am I going wrong.