private void classNotInEditorFolder(File file)
    {
        String filePath;
        File fileDir;
        
        filePath = file.getParent();
        fileDir = new File(filePath);
        
        if(fileDir.exists() && fileDir.isDirectory())
        {
            System.out.println("Class Not in editor");
            if(isClassInDir(fileDir))
            {
                file = new File(file.getAbsolutePath().replace(".java", ".class"));
                //copy file to the class folder
                FileCopier.copyTo(file, this.folderPath.concat("\\"+this.className));
                this.classExecutionPath = this.folderPath.concat(" "+this.className.replace(".class", " ").trim());
            }
        }
    }