使用xjar编译后 无法进行标准输入操作
mywsat opened this issue · comments
Wsat commented
Scanner scanner = new Scanner(System.in);
if (scanner.hasNextLine()) {
licenseCode = scanner.nextLine();
}
标准输入操作 直接跳过了
zhg595105376 commented
Scanner scanner = new Scanner(System.in); if (scanner.hasNextLine()) { licenseCode = scanner.nextLine(); }
标准输入操作 直接跳过了
我也遇到了这个问题,我用的版本是4.0.2
Meiyang Li commented
XLauncher内没关闭scanner
那请问怎么解决呀