系统环境

Ubuntu 20.04 focal


问题分析

该异常出现的原因,从谷歌上可以得到答案

one of the more common causes of this exception is a missing or corrupt installation of a Java Access Bridge. In this case, the following access bridge has been defined in standard configuration file (JDK_HOME/jre/lib/accessibility.properties):

com.sun.java.accessibility.AccessBridge

But it won't actually be operative unless the required installation is complete. Note that the standard access bridge implementation does not come packages with the SDK. To fix your particular issue, download and install the Oracle Access Bridge by following instructions from their setup page. That should resolve the startup error occurring in your program.


根据上述内容,我们可以在Oracle官网下载安装这个 Java Access Bridge解决此问题,安装说明 setup page.

当然,也可以直接禁用掉这个assistive technology,因此,最行之有效且方便的解决方案如下(对于通过apt安装的openjdk而言):

文件

/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/accessibility.properties

注释掉

# assistive_technologies=org.GNOME.Accessibility.AtkWrapper

最新文章

  1. ZOJ Problem Set - 1115 Digital Roots
  2. codeforces 420B Online Meeting
  3. Hibernate,JPA注解@Entity
  4. iOS - UIAlertView
  5. OC self super isa指针
  6. 用PHP生成随机数的函数
  7. 网络解析之XML及JSON
  8. html的头部标签详解
  9. bzoj 1030-1039
  10. Rudiments 0.42 发布,C++ 常用工具包 - 开源中国社区
  11. 浅谈 js 正则之 test 方法
  12. 多个Storyboard切换
  13. jms的初步认识
  14. Java NIO 与 IO
  15. dm-verity
  16. Unity发布至IOS的流程(踩坑记录)
  17. Retrofit2.0+RxJava+Dragger2实现不一样的Android网络架构搭建
  18. ffdshow 源代码分析 8: 视频解码器类(TvideoCodecDec)
  19. Mysql完整约束性
  20. Mybatis学习(三)————— 映射文件详解

热门文章

  1. MVC 生成安全验证码(例:用于登陆验证)(转)
  2. 羽夏看Win系统内核——异常篇
  3. SpringCloudAlibaba 微服务讲解(四)Sentinel--服务容错(一)
  4. tomcat 部署war,umask上传文件后无法通过nginx反向代理访问上传后的文件
  5. Java Arrays.asList(0,1,2,3,4,5,6,7,8,9).parallelStream().forEach 进行循环获取HttpServletRequest的为Null的解决方案
  6. 简述在 MySQL 数据库中 MyISAM 和 InnoDB 的区别 ?
  7. 如果有大量的 key 需要设置同一时间过期,一般需要注意什么?
  8. (转载) MOS管区分NP沟道
  9. Linux 中进程有哪几种状态?在 ps 显示出来的信息中, 分别用什么符号表示的?
  10. 数据分析之Pandas操作