The question says it all, I am trying to use an external library in my code, but it tells me that the packages I referenced to don't exist so I'm guessing the imports don't work. How do I do this?
Use the -cp option as described in the javac notes.
Specify where to find user class files, and (optionally) annotation processors and source files. This class path overrides the user class path in the
CLASSPATHenvironment variable. If neitherCLASSPATH,-cpnor-classpathis specified, the user class path consists of the current directory. ..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With