I've tried to link a jar-library to my project, but it doesn't seem to "completely" work..
I've used Project structure (shift+ctrl+alt+S) to add stdlib.jar, and the library seems to be linked to the program module on the Modules - Dependencies tab of the Project structure window (Sorry, I can't add images, need 10 rep)
When I create a class in the src folder of the project, I can use the classes/methods from stdlib.jar, but when I create a package inside src and then create new classes inside this package, I can't use the methods from stdlib.jar.
Intellij also gives no proposals to import anything, and I don't really know what import statement should I write (if this is what I need) since stdlib.jar is the name of the jar-file, but not the package/class name.
I'm also new to programming, but this question is about how to manage Intellij Idea IDE.
It was worth 4 hours of frustration, but I couldn't find a solution.
I've read Configuring Module Dependencies and Libraries, but couldn't find the exact answer for my problem. I've read many stackoverflow topics as well.
UPDATE: Here is the link to stdlib.jar. It is from the Sedgewick's booksite on algorithms.
UPDATE2: It really seems that stdlib.jar was designed for the default package and can't be used inside any other package (now the question is: why they do like this instead of making "universal" libraries?). But such infos are not in every book.