If your Java source code imports packages, you have to add the JAR files containing them to the Library. When you try to compile your Java application in NetBeans, and you get the error message: error: package … does not exist In the NetBeans Project view right-click the Libraries folder In the drop down menu select Add …
Continue reading “error: package … does not exist in NetBeans”