myeclipse10.7的破解 不需要去CSDN付费下载-免csdn费下载

吐槽一下,大票CSDN博主,在博文里基本不放干货,都弄成附件,放在csdn付费下载,一个破解办法,竟然50元,好在我是vip用户,不在乎价格,特此

这篇文章搬运一下资源给大家免费下载 顺便纠正一下其文章中的错误

汉化包下载链接 https://files.cnblogs.com/files/jnhs/Myeclipse10%E6%B1%89%E5%8C%96.zip

 《计算机软件保护条例》第十七条规定 为了学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软件等方式使用软件的,可以不经软件著作权人许可,不向其支付报酬。

 

 如果下载不成功,可以直接新建一个工程

然后新建一个java类

把这段代码贴进去,然后运行

 

import java.io.File;   
import java.util.ArrayList;   
import java.util.List;   
  
/**  
 * MyEclipse 10.x安装插件代码生成器  
 * @author Administrator  
 *  
 */  
public class CreatePluginsConfig {   
    private String path;   
  
    public CreatePluginsConfig(String path) {   
        this.path = path;   
    }   
  
    public void print() {   
        List list = getFileList(path);   
        if (list == null) {   
            return;   
        }   
  
        int length = list.size();   
        for (int i = 0; i < length; i++) {   
            String result = "";   
            String thePath = getFormatPath(getString(list.get(i)));   
            File file = new File(thePath);   
            if (file.isDirectory()) {   
                String fileName = file.getName();   
                if (fileName.indexOf("_") < 0) {   
                    continue;   
                }   
                String[] filenames = fileName.split("_");   
                String filename1 = filenames[0];   
                String filename2 = filenames[1];   
                result = filename1 + "," + filename2 + ",file:/" + path + "\\"  
                        + fileName + "\\,4,false";   
                System.out.println(result);   
            } else if (file.isFile()) {   
                String fileName = file.getName();   
                if (fileName.indexOf("_") < 0) {   
                    continue;   
                }   
                String[] filenames = fileName.split("_");   
                String filename1 = filenames[0]+"_"+filenames[1];   
                String filename2 = filenames[2].substring(0, filenames[2].lastIndexOf("."));   
                result = filename1 + "," + filename2 + ",file:/" + path + "\\"  
                        + fileName + ",4,false";   
                System.out.println(result);   
            }   
  
        }   
    }   
  
    public List getFileList(String path) {   
        path = getFormatPath(path);   
        path = path + "/";   
        File filePath = new File(path);   
        if (!filePath.isDirectory()) {   
            return null;   
        }   
        String[] filelist = filePath.list();   
        List filelistFilter = new ArrayList();   
  
        for (int i = 0; i < filelist.length; i++) {   
            String tempfilename = getFormatPath(path + filelist[i]);   
            filelistFilter.add(tempfilename);   
        }   
        return filelistFilter;   
    }   
  
    public String getString(Object object) {   
        if (object == null) {   
            return "";   
        }   
        return String.valueOf(object);   
    }   
  
    public String getFormatPath(String path) {   
        path = path.replaceAll("\\\\", "/");   
        path = path.replaceAll("//", "/");   
        return path;   
    }   
  
    public static void main(String[] args) {   
          
        new CreatePluginsConfig("D:\\specialProgranFiles\\MyEclipse10\\MyEclipse 10\\Common\\language\\plugins").print(); //汉化包插件路径   
    //提示:写你的myEclipse安装的路径
      
    }   
}  

 

然后控制台会打印出来一堆内容

把这些内容复制下来,

打开\MyEclipse 10\configuration\org.eclipse.equinox.simpleconfigurator目录下的bundles.info,贴在文件最后面。

可以使用notepad++打开

然后找到MyEclipse 10的目录下myeclipse.ini文件,用记事本打开在最后一行加多一条语句    -Duser.language=zh 

然后重启myeclipse就行了,是中文了

 

posted @ 2018-11-19 11:26  傻逼离我远点  阅读(1541)  评论(0编辑  收藏  举报