日期:2014-05-20 浏览次数:20914 次
if(!file.exists()){
try {
System.out.println(file.getName());
file.createNewFile();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return;
}
}
package com.zss.io;
import java.io.File;
import java.io.IOException;
public class FileTest {
public static void main(String[] args) {
File file = new File("D://安装postgreSQL出现configureerrorreadline library not found解决方法及pg安装全过程.html");
if(!file.exists()){
try {
System.out.println("=============="+file.getName());
file.createNewFile();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return;
}
}
}
}
------解决方案--------------------
自己新建一个文件,改名为:“安装postgreSQL出现configure:error:readline library not found解决方法及pg安装全过程.html”也是不行的