2016-12-14 145 views
-1

當我試圖在Netbeans的8.02運行我的Java Web應用程序項目,我不斷收到此錯誤:無法啓動GlassFish服務器

# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff49cf42ec, pid=2768, tid=0x0000000000002860
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [chtbrkg.dll+0x242ec]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\ZOOM IT\Downloads\Compressed\java_ee_sdk-7u2\glassfish4
\glassfish\domains\domain1\config\hs_err_pid2768.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. # Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0

this dialog box晚了一點。 我正在使用windows 10. Java版本「1.8.0_111」 Java™SE運行時環境(build 1.8.0_111-b14) Java HotSpot™64位服務器VM(版本25.111-b14,混合模式)

Cannot start GlassFish 4.1 from within Netbeans 8.0.1 Service area這個問題與被佔用的端口有關,這當然不是我的情況。

+0

您是否設置了路徑環境var?還打開日誌文件,看看它說什麼。 –

+0

你能指導我如何設置路徑環境變量? –

+1

看到這個答案http://stackoverflow.com/questions/26004517/cannot-start-glassfish-4-1-from-within-netbeans-8-0-1-service-area – MASh

回答