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提示过期,MyEclipse Trial Expired解决方法及激活

1、建立JAVA Project,随便命名,只要符合规则就行。 2、在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,再把下面的代码复制到文件中。运行,按照提示输入一...
  • u013408979
  • u013408979
  • 2016年10月08日 10:53
  • 13868

myeclipse10破解

好久没有使用myeclipse,今天打开突然提示“Your unactivated use of MyEclipse expired 6 days ago”.      其实就是当时没有激活...
  • yiwangxiblog
  • yiwangxiblog
  • 2016年09月25日 20:51
  • 2930

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

1、建立JAVA Project,随便命名,只要符合规则就行。 2、在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,再把下面的代码复制到文件中。运行,按照提示输入一...
  • u013408979
  • u013408979
  • 2016年10月08日 10:53
  • 13868

mysql密码过期的修改方法(your password has expired)

mysql密码过期,your password has expired,navicat链接数据库提示密码过期
  • lidachao01
  • lidachao01
  • 2017年05月17日 14:59
  • 530

Mysql 5.7密码过期修改密码

今天在运行项目的时候出现:“Your password has expired. To log in you must change it using a client that supports e...
  • u012365843
  • u012365843
  • 2015年09月14日 11:17
  • 2867

windows10下mysql5.7安装中的那些坑--登录以及密码过期

本文主要解决mysql5.7安装过程中无法登陆(无密码问题,需要设置初始密码)以及改了密码却提示密码过期(expired),需要reset密码的问题 新的mysql安装不知为何很多坑,这里稍作介绍...
  • u012322855
  • u012322855
  • 2016年11月13日 21:28
  • 2528

apache/php 性能大幅提升关键参数

最近要对公司的网站做测试,我主要使用LoadRunner和ApacheBench高低搭配进行测试,而文章主要以ApacheBench来测试Apache/php性能。测试过程发现一个问题,使用Apach...
  • cwqcwk1
  • cwqcwk1
  • 2013年11月25日 20:13
  • 7029

MyEclipse web项目导入Eclipse,详细说明

最近导入一个MyEclipse的项目,具体是:spring4.1的web项目,同时遇到了一些问题,总结一下。 1、进入项目目录,找到.project文件,打开。 增加一个(如果有的话,就不用添加)...
  • han_huayi
  • han_huayi
  • 2015年08月13日 12:23
  • 13591

iOS app 被拒原因

我碰到的app被拒的原因: 1. Reasons 2.9: Apps that are “beta”, “demo”, “trial”, or “test” versions will ...
  • mdk132
  • mdk132
  • 2014年03月01日 10:41
  • 2851

Myeclipse试用到期解决方法

import java.io.*;                 public class MyEclipseGen {                 private static f...
  • xiaomojun
  • xiaomojun
  • 2014年09月13日 13:13
  • 2032
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:MyEclipse提示过期“Your 30-day trial of MyEclipse has expired.”
举报原因:
原因补充:

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