摘要: [root@localhost aimin]# java -jar TASTS.jarException in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-win3 阅读全文
posted @ 2020-07-19 22:14 emanlee 阅读(711) 评论(0) 推荐(0)
摘要: 第一步:先下载JDK1.8,可以去官网下载,也可以直接这里的:下载地址:链接:https://pan.baidu.com/s/1f1EDWvG-GzpQRJaC_W4SpA 密码:9pj1先检查是否有安装JDK:#rpm -qa | grep jdk先把系统自带的干掉(如果没有直接跳过): rpm 阅读全文
posted @ 2020-07-19 21:06 emanlee 阅读(760) 评论(0) 推荐(0)
摘要: yum install mlocate updatedb 阅读全文
posted @ 2020-07-19 20:50 emanlee 阅读(148) 评论(0) 推荐(0)
摘要: protected void createContents() { shell = new Shell(); shell.setSize(800, 600); shell.setText(title); int width=shell.getDisplay().getBounds().width; 阅读全文
posted @ 2020-07-19 17:58 emanlee 阅读(492) 评论(0) 推荐(0)
摘要: Eclipse IDE 阅读全文
posted @ 2020-07-19 17:23 emanlee 阅读(201) 评论(0) 推荐(0)
摘要: java -verion 和 javac -version 版本不一致 E:\temp\eclipseWorkSpace>java -jar TASTS.jarException in thread "main" java.lang.NoClassDefFoundError: org/eclipse 阅读全文
posted @ 2020-07-19 16:15 emanlee 阅读(1875) 评论(0) 推荐(0)
摘要: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 解决方法: (1)检查环境变量Path; (2) 删除 java.exe, javaw.exe, javaws.exe 在 阅读全文
posted @ 2020-07-19 15:15 emanlee 阅读(1572) 评论(0) 推荐(0)
摘要: REF https://blog.csdn.net/cyb_23/article/details/40341857 (Good) https://jingyan.baidu.com/article/ff42efa904b4d7c19e220282.html https://blog.csdn.net 阅读全文
posted @ 2020-07-19 11:40 emanlee 阅读(229) 评论(0) 推荐(0)
摘要: 1、方法 str.trim(); //去掉首尾空格 str.replace(" ",""); //去除所有空格,包括首尾、中间 str.replaceAll(" ", ""); //去掉所有空格,包括首尾、中间 str.replaceAll(" +",""); //去掉所有空格,包括首尾、中间 st 阅读全文
posted @ 2020-07-19 10:58 emanlee 阅读(6601) 评论(0) 推荐(0)