Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding 在用jstack工具查看jvm线程的运行情况时出现上述错误.就是因为该进程长时间没有启停,在/tmp/hsperfdata_'username'/文件夹下的该进程文件被Linux自身的机制(tm…
java.io.NotSerializableException: test.io.file.Student at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at test.io.file.Demo4.test2(Demo4.java:36)…
public class File extends Object implements Serializable, Comparable<File> 构造方法: public File(String pathname) 按照完整路径实例化 public File(File parent, String child) 按照父路径和文件名实例化 成员: public static final String separator 目录分隔符 ('\'.'/'等) public static final…