I'm using Linux Mint 17.3. I installed NetBeans on it and whenever I open the Netbeans App, I receive this warning message:

The package containing the class javax.swing.JComponentBeanInfo was not loaded.

Below the warning message are two buttons. One to "Exit" and another to "Disable Modules and Continue.

What is the cause of this and how can I fix it?


After this long, I am sure you have sorted this out, but for anyone coming across the same problem, it is due to NetBeans having an issue with the Java platform (JDK).

To fix the issue, add the --jdkhome tag to your launcher.

Right click Menu > Configure... > Open the menu editor > Find your launcher and click Properties. Now edit the command to include something along the lines of:

./netbeans --jdkhome /usr/lib/jdk1.8.0_73/ (or whatever platform you are using)

Where you previously had ./netbeans (or something similar)

  • Its not clear where to add the above tag, can you please elaborate – Taha Rehman Siddiqui May 30 '16 at 4:43
  • The above tag is added within the launcher command properties. You will find the areas I detailed in my answer when you right click the system menu, which is what I meant with Menu. Within that, you will find the launcher for Netbeans itself. It is there that you will be able to edit the launcher command to include the extra I detailed above. – Dan Priest May 31 '16 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.