I know you have to change C:/ to user.home but it runs and says Error Please Report when trying for the cache.
Idk what to change + I have a cache downloader.

Code:
public static String findcachedir() {
        String as[] = {"C:/"};
        if(storeid < 32 || storeid > 34)
            storeid = 32;
        String s = "Rfcache";
        for(int i = 0; i < as.length; i++)
            try {
                String s1 = as[i];
                if(s1.length() > 0) {
                    File file = new File(s1);
                    if(!file.exists())
                        continue;
                }
                File file1 = new File(s1 + s);
                if(file1.exists() || file1.mkdir())
                    return s1 + s + "/";
            }
            catch(Exception _ex) { }
        return null;
    }