1.查找问题
使用命令:ls/var/crash/
可看到我电脑此目录下有文件为:openjdk-9-jdk.0.crash 2.问题原因 Apport is a system which:
intercepts crashes right when they happen the first time,
gathers potentially useful information about the crash and the OS environment,
can be automatically invoked for unhandled exceptions in other programming languages (e. g. in Ubuntu this is done for Python),
can be automatically invoked for other problems that can be automatically detected (e. g. Ubuntu automatically detects and reports package installation/upgrade failures from update-manager),
presents a UI that informs the user about the crash and instructs them on how to proceed,
and is able to file non-crash bug reports about software, so that developers still get information about package versions, OS version etc.
综上英文所述Apport反馈了软件崩溃信息。 3.问题解决 java根本问题原因还真不好说。此处只说如何关闭apport功能。
sudo gedit /etc/default/apport
内容为:
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=1
将enabled=1改为enabled=0
转载出处:https://blog.csdn.net/a13526758473/article/details/78928932