摘要: 1.查询已经安装的jdk rpm -qa | grep jdk 2.卸载jdk rpm -e --nodeps jdk-1.6.0_45-fcs.x86_64 3.安装jdk (jdk-6u45-linux-x64-rpm.bin) 在/usr中创建java目录,将jdk-6u45-linux-x6 阅读全文
posted @ 2019-08-13 19:03 bitbetter 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 有些时候,比如文件操作的时候,特别是文件中有中文,会规定用GBK格式,这时读写文件,可能会出现中文乱码 资源文件乱码 文件内容乱码 资源文件乱码: 解决: PropertiesUtil proper = new PropertiesUti() String str = new String(prop 阅读全文
posted @ 2019-08-13 13:18 bitbetter 阅读(198) 评论(0) 推荐(0) 编辑