In SunOne Studio, (formely Forte) you mounted a directory of your system
to in the "Explorer" right. Your main class should be outside the
package declaration to be able to run it. Example:
Case:: Main.class is in C:\Temp Directory, and I have a package say
"pk.help.classes"
1. I will mount C:\Temp in the explorer
2. I will copy package folder INSIDE C:\Temp
3. I will write import statements as usual and Forte will take care of
it.
Second Method::
1. Set your classpath accordingly, from Tools > Options > Choose
Building > Comiler Types and set Classpaths from advanced tab
Third Method:
If you are switching IDEs frequently, one way is to copy your JAR files
or other objects in JDK\ JRE\ LIB\ EXT Directory, they will be imported
auto.