摘要: 问题描述 执行nohup java -jar do_iptable.jar >/dev/null & 运行jar会提示:nohup: 忽略输入重定向错误到标准输出端 解决方法 修改运行方式为nohup java -jar do_iptable.jar >/dev/null 2>&1 &即可 参考文章 阅读全文
posted @ 2023-12-26 15:20 先娶国王后取经 阅读(539) 评论(0) 推荐(0) 编辑
摘要: Math.round:四舍五入为最接近的整数; // 保留一位小数 double num = 3.14159; double result = Math.round (num * 10) / 10.0; // result = 3.1 Math.random():随机选取大于等于 0.0 且小于 1 阅读全文
posted @ 2023-12-26 14:13 先娶国王后取经 阅读(2) 评论(0) 推荐(0) 编辑