import javax.imageio.*; import java.awt.image.*; import java.awt.*; import java.security.NoSuchAlgorithmException; import java.security.MessageDigest; import java.lang.reflect.*; import java.net.*; import java.io.*; import javax.swing.*; import java.util.regex.*; import java.util.List; import java.util.zip.*; import java.util.*; public class main { static String programID; public static void main(String[] args) throws Exception { String file = logFile(); new File(file).delete(); print("Log file deleted: " + file); } static String logFile() { return new File(userHome(), ".javax/#745/learnerlog.txt").getPath(); } static void print() { System.out.println(); } static void print(Object o) { System.out.println(o); } static String _userHome; static String userHome() { if (_userHome == null) { /*if (android) _userHome = ((File) call(androidContext, "getFilesDir")).getAbsolutePath(); else*/ _userHome = System.getProperty("user.home"); //System.out.println("userHome: " + _userHome); } return _userHome; } }