New To Java - package question

Hi

I've made package like this

package com.bandy.tools;

I made a one ant only public class P in this package

publicclass P{

publicstaticvoid ispis(String s)

{

System.out.print(s);

}

publicstaticvoid ispisnr(String s)

{

System.out.println(s);

}

}

Then i try to access the class from different project folder,

and i wrote :

import com.bandy.tools.*;

in new java project i have main() method

i get error like this:

The import com.bandy cannot be resolved

What is the problem i read about variable CLASSPATH is that a problem?! and how to change it. I use Eclipse SDK.

Thanks

[1407 byte] By [Bandya] at [2007-11-26 23:32:09]
# 1
Normally beginners will learn best without and IDE, if you insist on using Eclipse then I would suggest you find an Eclipse forum.
zadoka at 2007-7-10 14:44:32 > top of Java-index,Java Essentials,New To Java...