激活MyEclip6.5⽅法-通过⼀段Java程序⽣成激活码
在MyEclip中新建⼀个Java类,名为MyEclipKeyGen,将下⾯的Java代码拷贝到MyEclipKeyGen类中,先修改变量subscriber的值,然后运⾏程序即可获得Subscription Code。将subscriber和subscript
关于祖国的诗句
ionCode输⼊上图所⽰区域,点击“OK”,即可激活MyEclip6.5(通过测试,本⼈已成功激活)。其他的MyEclip版本暂没有测试过。
DecimalFormat;
NumberFormat;
SimpleDateFormat;
4import java.util.Calendar;
5
个人包工协议6public class MyEclipKeyGen {
7
8public static final void main(String[] args){
9 String subscriber = "yuxinwangjing"; //subscriber
10 String licenNum = "500"; //Number of Licens
11 String version = "100"; //版本号
12 String subscriptionCode = getSubscriptionCode(subscriber, version , licenNum ,true);
13 System.out.println(subscriptionCode);
14 }
15
16public static String getSubscriptionCode(String subscriber, String version, String licenNum, boolean lected) {
雨人观后感
17 Calendar cal = Instance();
18 cal.add(1, 3); //年份加三年
19 cal.add(6, -1); //⽇期减⼀,当前⽇期20141226,到期⽇期则为20171225
20 NumberFormat nf = new DecimalFormat("000");
21 licenNum = nf.format(Integer.valueOf(licenNum));
22 String verTime = lected ? (new StringBuffer("-")).append((new SimpleDateFormat("yyMMdd")).Time())).append("0").toString() : "-0812310";
自立自强作文23 String type = "YE3MB-";
24 String need = (new
StringBuffer(String.valueOf(subscriber.substring(0,1)))).append(type).append(version).append(licenNum).append(verTime).toString();
25 String dx = (new StringBuffer(String.valueOf(need))).append("Decompiling this copyrighted software is a violation of both your licen agreement and the Digital Millenium Copyright Act of 1998 (v/copyright/legislation/dmca.pdf). Under ction 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offen. Think about it; pay for a licen, avoid procution, and feel better about yourlf.").append(subscriber).toString();
26int suf = decode(dx);
27 String code = (new StringBuffer(String.valueOf(need))).append(String.valueOf(suf)).toString();
空调插座高度28return change(code);
29 }
30
31private static int decode(String s) {
32
33int i = 0;
34char ac[] = s.toCharArray();
35int j = 0;
36for (int k = ac.length; j < k; j++)
37 i = 31 * i + ac[j];
38return Math.abs(i);
39 }
40
41private static String change(String s) {
42byte abyte0[] = s.getBytes();
43char ac[] = new char[s.length()];
锚固技术44int i = 0;
45for (int k = abyte0.length; i < k; i++) {
46int j = abyte0[i];酸角的功效与作用
47if (j >= 48 && j <= 57)
48 j = ((j - 48) + 5) % 10 + 48;什么是项目
49el if (j >= 65 && j <= 90)
50 j = ((j - 65) + 13) % 26 + 65;
51el if (j >= 97 && j <= 122)
52 j = ((j - 97) + 13) % 26 + 97;
53 ac[i] = (char) j;
54 }
55return String.valueOf(ac);
56 }
57 }
相关资源: