Issues Importing Class File Into Project
I've been having issues with importing a class file into an existing project or even a new one. A professor of mine requires usage of this class file and I've had to result to using JGrasp or simple command prompt compiling with a text editor to complete assignments. I've added the path of the class file in the dependencies, I've followed the information here and I am still unable to iimport the class file by following the basic syntax, which in this instance is
import codelibraries.chp10.Course;
What can I do to fix this issue?
Thanks for your help!
请先登录再写评论。
You should add a path to the default package, not to the file.
In your case it would be c:/some/path/codelibraries/chp10 and this directory should contain Course.class file.
Would you mnid directing me on where to add the path?
You already know that if you have read http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html .
Thanks! I got it now.