How to import package when compiling?

Hello experts,I have an error occur when compiling my project....ProjectRelated.java:15: package common_db does not existimport common_db.*;^1 errorwhat should I do? regards,kurt
[261 byte] By [rojaktambi] at [2007-9-26 3:50:46]
# 1

Sounds as a classpath problem. Find out the directory which contains the "common_db" subdirectory, and add this directory to your classpath, or compile the code using this classpath.

Suppose that the files are located in the directory:

D:\JavaSource\common_db\

Now you should compile your project:

javac -classpath D:\JavaSource ProjectRelated.java

Hope it helps.

ivanhu at 2007-6-29 12:36:32 > top of Java-index,Developer Tools,Java Compiler...
# 2
thanx ivanhu,warm regards,kurt
rojaktambi at 2007-6-29 12:36:32 > top of Java-index,Developer Tools,Java Compiler...