netbeans ide cannot create a project

Bug #1360100 reported by HKGoldenMr.A
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Expired
Undecided
Unassigned

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

Tags: mint-mate
Vlad Orlov (monsta)
affects: linuxmint → netbeans (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in netbeans (Ubuntu):
status: New → Confirmed
Revision history for this message
Dino Conte (dermitdemdino) wrote :

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

Revision history for this message
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(ClassLoader.java:643)
 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(ClassLoader.java:268)
 at org.netbeans.modules.java.j2seproject.MainClassUpdater.addFileChangeListener(Unknown Source)
 at org.netbeans.modules.java.j2seproject.MainClassUpdater.<init>(Unknown Source)
 at org.netbeans.modules.java.j2seproject.J2SEProject$ProjectOpenedHookImpl.projectOpened(Unknown Source)
 at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
 at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:196)
 at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
[catch] at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1130)
 at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:1213)
 at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:700)
 at org.netbeans.modules.project.ui.OpenProjectList.access$2000(OpenProjectList.java:136)
 at org.netbeans.modules.project.ui.OpenProjectList$4.run(OpenProjectList.java:585)
 at org.openide.util.RequestProcessor$Task.run(Unknown Source)
 at org.openide.util.RequestProcessor$Processor.run(Unknown Source)

Norbert (nrbrtx)
Changed in netbeans (Ubuntu):
status: Confirmed → Incomplete
Norbert (nrbrtx)
tags: added: mint-mate
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for netbeans (Ubuntu) because there has been no activity for 60 days.]

Changed in netbeans (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.