About import statement in Java

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-06-11T15:55:00Z Indexed on 2010/06/11 16:02 UTC
Read the original article Hit count: 211

Filed under:
|

test.java:

import javax.media;

Which directories are javax.media searched from?

I suppose those in CLASSPATH specified by javac -cp will of course be searched.

But will it also search in the directory where test.java locates?

And are there any other possible places that will be searched?

© Stack Overflow or respective owner

Related posts about java

Related posts about classpath