小强哥博客

小强哥,小强哥博客,技术大咖

在Fedora系统上运行UMLDesigner8报错问题解决

在fedora系统上运行UMLDesigner8出现如下错误,

[zhaoqiang@fedora UMLDesigner]$ ./UMLDesigner 
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000000068b0, pid=32693, tid=0x00007fbecd210700
#
# JRE version: OpenJDK Runtime Environment (8.0_112-b16) (build 1.8.0_112-b16)
# Java VM: OpenJDK 64-Bit Server VM (25.112-b16 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x00000000000068b0
#
# Core dump written. Default location: /home/zhaoqiang/下载/UMLDesigner/core or core.32693
#
# An error report file with more information is saved as:
# /home/zhaoqiang/下载/UMLDesigner/hs_err_pid32693.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/
#

在 https://github.com/ObeoNetwork/UML-Designer/issues/971 找到了解方法。

解决方案如下,执行如下shell命令即可启动

java -jar plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133 --launcher.XXMaxPermSize 256m -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256m &