1

当我尝试在我的 Jenkins 服务器中使用 Gradle 编译一些 Java 代码时,我一直在 Java 中崩溃。有人知道任何可能的解决方案吗?似乎libzip有某种问题......

我正在使用 Ubuntu 服务器。完整的错误报告: http: //pastebin.com/dnmFTbLg

:reobf#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f54df18218d, pid=17194, tid=140002619074304
#
# JRE version: 7.0_25-b30
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libzip.so+0x518d]  Java_java_util_zip_ZipFile_getZipMessage+0x114d
#
# 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/lib/jenkins/workspace/ICBM/hs_err_pid17194.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

有谁知道为什么 Java 在尝试执行编译时崩溃?

4

1 回答 1

0

我看到你正在使用 OpenJDK。尝试改用 Oracle JDK:https ://help.ubuntu.com/community/Java

于 2014-01-17T03:57:24.847 回答