I am wondering how to use an existing .class file in my Java Intellij project. How do you include an existing class in a project? I don't have the .java file, just the .class file. IntelliJ lets me paste in the package containing the .class file, but acts as if there is nothing in the package.
I've used existing classes in my projects before by compiling from the command line, but I would like to know how to do it in Intellij.