Here you can find the source of loadSystemClassPath()
public static void loadSystemClassPath()
//package com.java2s; //License from project: Apache License import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class Main { private static String syspath; public static void loadSystemClassPath() { try {/*from w w w. ja v a 2s . c o m*/ File file = new File("../classpath.txt"); if (!file.exists()) return; BufferedReader bf = new BufferedReader(new FileReader("../classpath.txt")); syspath = bf.readLine(); System.out.println(syspath); File pfile = new File(syspath); if (!pfile.exists()) { bf.close(); file.delete(); return; } } catch (IOException e) { e.printStackTrace(); } } }