Netbeans stopped opening

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Netbeans stopped opening

Mr.Mbithi
Kindly advice on how to get my netbeans working again. I have uninstalled and installed again but still not opening. From the terminal I get the below response:


Code:
$ netbeans
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe5fa6ba009, pid=25330, tid=25366
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/emmanuel/Downloads/core.25330)
#
# An error report file with more information is saved as:
# /home/emmanuel/Downloads/hs_err_pid25330.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/share/netbeans/8.1/platform/lib/nbexec: line 474: 25330 Aborted                 (core dumped) "/usr/lib/jvm/java-9-openjdk-amd64/bin/java" -Djdk.home="/usr/lib/jvm/java-9-openjdk-amd64" -classpath "/usr/share/netbeans/8.1/platform/lib/boot.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-ui.jar" -Dnetbeans.default_userdir_root="/home/emmanuel/.netbeans" -Dnetbeans.running.environment=gnome -Dnetbeans.dirs="/usr/share/netbeans/8.1/nb:/usr/share/netbeans/8.1/ergonomics:/usr/share/netbeans/8.1/ide:/usr/share/netbeans/8.1/extide:/usr/share/netbeans/8.1/java:/usr/share/netbeans/8.1/apisupport:/usr/share/netbeans/8.1/webcommon:/usr/share/netbeans/8.1/websvccommon:/usr/share/netbeans/8.1/enterprise:/usr/share/netbeans/8.1/mobility:/usr/share/netbeans/8.1/profiler:/usr/share/netbeans/8.1/!
 python:/usr/share/netbeans/8.1/php:/usr/share/netbeans/8.1/identity:/usr/share/netbeans/8.1/harness:/usr/share/netbeans/8.1/cnd:/usr/share/netbeans/8.1/cndext:/usr/share/netbeans/8.1/dlight:/usr/share/netbeans/8.1/groovy:/usr/share/netbeans/8.1/extra:/usr/share/netbeans/8.1/javacard:/usr/share/netbeans/8.1/javafx:" -Dnetbeans.home="/usr/share/netbeans/8.1/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Xmx768m' '-client' '-Xss2m' '-Xms32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' '-Dsun.java2d.pmoffscreen=false' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/emmanuel/.netbeans/8.1/var/log/heapdump.hprof" org.netbeans.Main --cachedir "/home/emmanuel/.cache/netbeans/8.1" --userdir "/home/emmanuel/.netbeans/8.1" "--branding" "nb" 0<&0






Reply | Threaded
Open this post in threaded view
|

Re: Netbeans stopped opening

geertjan.wielenga@oracle.com

You have JDK 9 installed and you’re trying to run NetBeans IDE 8.1.

That’s not going to work.

For NetBeans IDE 8.1, you need JDK 8.



Geertjan Wielenga | Principal Product Manager
Phone: +31620320056 | 
Oracle Developer Tools

ORACLE Netherlands | Hertogswetering 163-167 | 3543 AS Utrecht | Netherlands


Oracle is committed to developing practices and products that help protect the environment

On 6 Oct 2017, at 15:32, Mr.Mbithi <[hidden email]> wrote:

Kindly advice on how to get my netbeans working again. I have uninstalled and installed again but still not opening. From the terminal I get the below response:


Code:
$ netbeans
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe5fa6ba009, pid=25330, tid=25366
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/emmanuel/Downloads/core.25330)
#
# An error report file with more information is saved as:
# /home/emmanuel/Downloads/hs_err_pid25330.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/share/netbeans/8.1/platform/lib/nbexec: line 474: 25330 Aborted                 (core dumped) "/usr/lib/jvm/java-9-openjdk-amd64/bin/java" -Djdk.home="/usr/lib/jvm/java-9-openjdk-amd64" -classpath "/usr/share/netbeans/8.1/platform/lib/boot.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-ui.jar" -Dnetbeans.default_userdir_root="/home/emmanuel/.netbeans" -Dnetbeans.running.environment=gnome -Dnetbeans.dirs="/usr/share/netbeans/8.1/nb:/usr/share/netbeans/8.1/ergonomics:/usr/share/netbeans/8.1/ide:/usr/share/netbeans/8.1/extide:/usr/share/netbeans/8.1/java:/usr/share/netbeans/8.1/apisupport:/usr/share/netbeans/8.1/webcommon:/usr/share/netbeans/8.1/websvccommon:/usr/share/netbeans/8.1/enterprise:/usr/share/netbeans/8.1/mobility:/usr/share/netbeans/8.1/profiler:/usr/share/netbeans/8.1/!
python:/usr/share/netbeans/8.1/php:/usr/share/netbeans/8.1/identity:/usr/share/netbeans/8.1/harness:/usr/share/netbeans/8.1/cnd:/usr/share/netbeans/8.1/cndext:/usr/share/netbeans/8.1/dlight:/usr/share/netbeans/8.1/groovy:/usr/share/netbeans/8.1/extra:/usr/share/netbeans/8.1/javacard:/usr/share/netbeans/8.1/javafx:" -Dnetbeans.home="/usr/share/netbeans/8.1/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Xmx768m' '-client' '-Xss2m' '-Xms32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' '-Dsun.java2d.pmoffscreen=false' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/emmanuel/.netbeans/8.1/var/log/heapdump.hprof" org.netbeans.Main --cachedir "/home/emmanuel/.cache/netbeans/8.1" --userdir "/home/emmanuel/.netbeans/8.1" "--branding" "nb" 0<&0