netbeans ide cannot create a project

Bug #1360100 reported by HKGoldenMr.A on 2014-08-22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)

Bug Description

i am using linux mint 17 mate 64 bit version 2

i use "sudo apt-get install netbeans" to install netbeans ide

the netbeans ide installed when i run the netbeans ide
when netbeans ide is started, an error message appeared
and click the alert signal, it shows "unexpected exception javax/lang/model/element/executeableelement: unsupported major.minor version 51.0"
the netbeans is jammed when creating a java project
the jammed problem still occurs after reboot the netbeans ide or reboot the linux mint

after that i thought the problem comes from java version
then i purge the openjdk-6-jdk and try to install the openjdk-7-jdk use command "sudo apt-get install openjdk-7-jdk"
and update-alternative java runtime
the netbeans ide does not show the previous problem after started
however, when create a java project it gets the other error signal - "unexpected exception com/sun/tools/javac/util/CancelAbort"

i thought netbeans ide is crash to some software or library i installed
so i use virtualbox and setup i new linux mint 17 in it.
i install openjdk-7-jdk before install netbeans, however it still has "unexpected exception com/sun/tools/javac/util/CancelAbort" when create a java project

linux mint 16 does not happen

Vlad Orlov (monsta) on 2014-08-22
affects: linuxmint → netbeans (Ubuntu)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netbeans (Ubuntu):
status: New → Confirmed
Dino Conte (dermitdemdino) wrote :

Me too, here the same. See log in attachment.
Configuration: Ubuntu 14.04.1 / 64bit / Netbeans 7.0.1

José Jorge (mexchip) wrote :

Same problem here.
When trying to pen a project I get this exception:

java.lang.UnsupportedClassVersionError: javax/tools/JavaFileManager : Unsupported major.minor version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(
 at org.netbeans.JarClassLoader.doLoadClass(Unknown Source)
 at org.netbeans.ProxyClassLoader.selfLoadClass(Unknown Source)
 at org.netbeans.ProxyClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(
 at Source)
 at<init>(Unknown Source)
 at$ProjectOpenedHookImpl.projectOpened(Unknown Source)
 at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(
 at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(
[catch] at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(
 at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(
 at org.netbeans.modules.project.ui.OpenProjectList.doOpen(
 at org.netbeans.modules.project.ui.OpenProjectList.access$2000(
 at org.netbeans.modules.project.ui.OpenProjectList$
 at org.openide.util.RequestProcessor$ Source)
 at org.openide.util.RequestProcessor$ Source)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments