WebHosting

Saturday, November 4, 2017

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"

Following error appeared during installation of Netbeans I found the solution as NetBeans is not able to find the java path.

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"

So the solution is to either correct the java path and correct the environment variables or just put the command line parameter -javahome as following while installing NetBeans.


./netbeans*   --javahome /usr/lib/jvm/java-8-oracle


--or--


sh -x netbeans-8.2-linux.sh --javahome /usr/lib/jvm/java-8-oracle


Note: You should have Java 1.8 or less as NetBeans 8.2 does not seems to work with Java 1.9

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

เค•िเคธเค•े เคนिเคธ्เคธे เคฎें เคฎें เคฏे เคงเคฐเคคी

เคšिเคก़िเคฏों เค•ा เค˜เคฐ เคœเคฒ เคฐเคนा เคนै  เค‡ंเคธाเคจ เค–ुเคถ เคนै เค•ि เคฏे เค†เค— เคฆूเคฐ เคนै เค…เคญी เค•เคญी เคคो เค†เคเค—ी เค˜เคฐ เคคเค•  เคคेเคฐा เคญी เค˜เคฐ เคœเคฒेเค—ा เค•เคญी เคฌेเคœुเคฌाเคจ เคนै เค•ुเค› เคฌोเคฒเคคे เคจเคนीं เคนै เคฆिเคฒ เคฎें เคฆुเค– ...