When I set name and location of a new Java project it stops and show a message of error :
A java.lang.NoClassDefFoundError exception has occurred
So the project isn't created and I can write any code lines on Netbeans.
My OS version
- Ubuntu 14.04.2 LTS 64 bit
My NetBeans version
- Product Version: NetBeans IDE 7.0.1 (Build 20121011-unknown-revn)
- Java: 1.7.0_75; OpenJDK 64-Bit Server VM 24.75-b04
- System: Linux version 3.13.0-49-generic running on amd64; UTF-8; it_IT (nb)
- Userdir: /home/ema/.netbeans/7.0
A java.lang.NoClassDefFoundError exception has occurred
classpath
in ~/.bashrc and/etc/profile
. The error shows that it cannot find class definitions. And the predefined class definitions are located inclasspath