MyEclipse提示过期“Your 30-day trial of MyEclipse has expired.”

转载 2013年12月03日 19:05:57
今天MyEclipse提示过期了,MyEclipse Trial Expired.
网上找到了一个注册类可以生成Myeclipse注册码.
import java.io.*;        

        

public class MyEclipseGen {        

        private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel better about yourself.";        

        

        public String getSerial(String userId, String licenseNum) {        

                java.util.Calendar cal = java.util.Calendar.getInstance();        

                cal.add(1, 3);        

                cal.add(6, -1);        

                                            java.text.NumberFormat nf = new java.text.DecimalFormat("000");        

                                            licenseNum = nf.format(Integer.valueOf(licenseNum));        

                                            String verTime = new StringBuilder("-").append(        

                                                            new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime()))        

                                                            .append("0").toString();        

                                            String type = "YE3MP-";        

                                            String need = new StringBuilder(userId.substring(0, 1)).append(type)        

                                                            .append("300").append(licenseNum).append(verTime).toString();        

                                            String dx = new StringBuilder(need).append(LL).append(userId)        

                                                            .toString();        

                                            int suf = this.decode(dx);        

                                            String code = new StringBuilder(need).append(String.valueOf(suf))        

                                                         .toString();        

                                            return this.change(code);        

                                    }        

                                    

                                    private int decode(String s) {        

                                            int i;        

                                            char[] ac;        

                                            int j;        

                                            int k;        

                                            i = 0;        

                                            ac = s.toCharArray();        

                                            j = 0;        

                                            k = ac.length;        

                                            while (j < k) {        

                                                    i = (31 * i) + ac[j];        

                                                    j++;        

                                            }        

                                            return Math.abs(i);        

                                    }        

                                    

                                 private String change(String s) {        

                                            byte[] abyte0;        

                                            char[] ac;        

                                            int i;        

                                            int k;        

                                            int j;        

                                            abyte0 = s.getBytes();        

                                            ac = new char[s.length()];        

                                            i = 0;        

                                            k = abyte0.length;        

                                            while (i < k) {        

                                                    j = abyte0[i];        

                                                    if ((j >= 48) && (j <= 57)) {        

                                                            j = (((j - 48) + 5) % 10) + 48;        

                                                    } else if ((j >= 65) && (j <= 90)) {        

                                                            j = (((j - 65) + 13) % 26) + 65;        

                                                    } else if ((j >= 97) && (j <= 122)) {        

                                                            j = (((j - 97) + 13) % 26) + 97;        

                                                    }        

                                                    ac[i] = (char) j;        

                                                    i++;        

                                            }        

                                            return String.valueOf(ac);        

                                    }        

                                    

                                    public MyEclipseGen() {        

                                            super();        

                                    }        

                                    

                                    public static void main(String[] args) {        

                                            try {        

                                                    System.out.println("please input register name:");        

                                                    BufferedReader reader = new BufferedReader(new InputStreamReader(        

                                                                    System.in));        

                                                    String userId = null;        

                                                    userId = reader.readLine();        

                                                    MyEclipseGen myeclipsegen = new MyEclipseGen();        

                                                    String res = myeclipsegen.getSerial(userId, "0");        

                                                    System.out.println("Serial:" + res);        

                                                    reader.readLine();        

                                            } catch (IOException ex) {        

                                            }        

                                    }        

                            }
运行后效果如下:
 
修改String res = myeclipsegen.getSerial(userId, "20"); "20""0"可以变成Number of LicensesUnlimited.

register name :自己随便输入一个就可以,如果不能用就换一个名字
 
然后
然后将刚才生成的序列号输入
点击下面的Finish即可
代码测试过了,可行!
Myeclipse--subscription information 即可进入update subscription界面。
ok,现在可以了吧?恭喜你!
举报

相关文章推荐

MyEclipse提示过期“Your 30-day trial of MyEclipse has expired.”

原文出处:http://blog.163.com/jw0104@126/blog/static/846064912014215105326638/ 今天MyEclipse提示过期了,MyEcli...

Your 30-day trial of MyEclipse has expired 解决方案

今天MyEclipse提示过期了,MyEclipse Trial Expired. 网上找到了一个注册类可以生成Myeclipse注册码.   [java] view plain cop...

我是如何成为一名python大咖的?

人生苦短,都说必须python,那么我分享下我是如何从小白成为Python资深开发者的吧。2014年我大学刚毕业..

myeclipse trial expired

今天MyEclipse提示过期了,MyEclipse Trial Expired.网上找到了一个注册类可以生成注册码.Code:1.import java.io.*;   2.  3.public c...

MyEclipse10 的正确破解方法

MyEclipse10.1 破解工具下载http://download.csdn.net/detail/xexiyong/4862474 网上有很多流传的破解方法,但是经过我尝试,失败了,这个方法不...

解决MyEclipse "Your MyEclipse subscription has expired" 提示

自己解决 MyEclipse subscription expired,手动运行Java代码用原来注册的subscriber 名称为参数获取新的注册码。

MyEclipse到期提示Myeclipse Trial Expired

1.新建一个java项目,或者在已有的项目中新建一个MyEclipseGen.java文件 2.将如下代码考入保存: import java.io.*; public class MyEclip...

MyEclipse提示过期,MyEclipse Trial Expired解决方法及激活

1、建立JAVA Project,随便命名,只要符合规则就行。 2、在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,再把下面的代码复制到文件中。运行,按照提示输入一...
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)