Java EE 安装程序在 Mac OS X Mavericks 上崩溃

标签 java macos jakarta-ee glassfish java-7

尝试在 OS 10.9 Mavericks 上安装 Java EE 7/Glassfish 4,但每次都会崩溃。我已经尝试安装 Apple JDK 和 Oracle JDK,但都不起作用。有人遇到过这个吗?我记得在 10.8 上安装并且运行良好。谢谢!

环境变量:

$回声$JAVA_HOME

/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

输出:

$ chmod +x java_ee_sdk-7-jdk7-macosx-x64.sh

$ ./java_ee_sdk-7-jdk7-macosx-x64.sh 

Extracting the installer archive...
Extracting the installer runtime... Extracting the installer
resources... Extracting the installer metadata...

Welcome to GlassFish installer

Using the user defined JAVA_HOME :
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
Entering setup... SwixML 1.5 (#144)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000119956af9, pid=5178, tid=50183
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  0x0000000119956af9
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /var/folders/4t/7dky_l096m1fdl5gncg_w__80000gn/T//hs_err_pid5178.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
# /tmp/install.111513141256/install/bin/engine-wrapper: line 139:  5178 Abort trap: 6           ${JAVA_HOME}/bin/java ${JAVA_OPTIONS}
-Dinstall.engine=${theInstallEngine} -Dinstaller.resources.url=${MEDIALOC}/ -Ddefault.resources.url=file:${INSTALL_HOME}/lib/resources/ -classpath ${theCP} -Dsims.native-file-dir=${INSTALL_HOME}/lib
org.openinstaller.core.EngineBootstrap ${INSTALLPROPS}

最佳答案

只是一个大胆的猜测,因为我在另一个软件上遇到了类似的问题:

尝试使用 sudo 运行安装

sudo [your installer]

关于Java EE 安装程序在 Mac OS X Mavericks 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20009990/

相关文章:

java - 为什么 1942/4/3 00 :00:00 an illegal date in java. util.Calendar?

java - 自定义未经检查的异常

spring - Spring框架有自己的bean吗?

eclipse - Eclipse Kepler中缺少动态Web项目选项

jakarta-ee - 使用 Java EE 6 将 EJB 注入(inject)域对象

java - 在 Android 中将数据传递到寻呼机适配器内的 fragment 时出现问题

java - 如何使用泛型向 ArrayList 添加内容?

python - 如何更改Python3中ssl模块中的 'cafile'参数?

objective-c - MAC OS X 10.8 上的所有用户应用程序首选项

macos - OSX 应用程序 : Get max resolution of the user's display (Swift)