myeclipse万能注册码

在你的myeclipse 里面写一个MyEclipseGen 类 把下面的代码复制粘贴进去,运行,在控制台敲入你的注册名,回车后出现注册码,输入到该输入注册码的地方!

----------------------------------------------------------------

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

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, "5");
    System.out.println("Serial:" + res);
    reader.readLine();
   } catch (IOException ex) {
   }
}
}
时间: 2024-08-10 21:20:41

myeclipse万能注册码的相关文章

Myeclipse8.5 subscription expired自己动手获取Myeclipse的注册码

步骤: 1.在myeclipse中新建一个java project 2.在src目录下建立一个名为MyEclipseGen的类 3.将下面的代码复制到该类中,并运行. import java.io.*; public class MyEclipseGen { private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement an

MyEclipse生成注册码

今天正在使用的MyEclipse出现了使用过期,在网上发现一个可以生成注册码的程序,现在分享给各位. /** * myEclipse生成注册码 * 点击顶部:MyEclipse --> subscription information 即可进入update subscription界面 */ public class Test { private static final String LL = "Decompiling this copyrighted software is a vio

MyEclipse获取注册码

最近刚装上MyEclipse,一直弹窗提示注册码过期,开始还能接受,到最后,每发布一个项目便弹窗提醒,顿时感觉烦了,得治理治理这个烦人的注册码,下面是一段自动生成注册名和注册码的代码,只需要直接拿来用就可以解决弹窗的烦恼. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class MyEli { private static final Str

解决MyEclipse 输入注册码后:Enter or update your subscription information.问题

这几天,我用MyEclipse做例子的时候总是出现下面图上面的提示: 不用看就是注册码到期了要注册.找了好几个注册码总是出现Enter or update your subscription information.的提示也不能完成注册这时候上网一搜果然有人也遇到这个问题办法很简单就是新建一个JAVA类输入下面的代码: import java.text.DecimalFormat; import java.text.NumberFormat; import java.text.SimpleDat

MyEclipse注册码自动生成(支持MyEclipse8及之前的版本)

打开MyEclipse新建一个Java工程(工程名任意),然后新建类(类名MyEclipseGen),粘贴如下代码,运行,即可生成MyEclipse的注册码 1 package HelloWorld; 2 import java.io.BufferedReader; 3 import java.io.IOException; 4 import java.io.InputStreamReader; 5 6 public class MyEclipseGen { 7 private static f

Windows/Linux/Mac下myeclipse所有版本下载地址

说明文档:MyEclipse生成注册码   Myeclipse2014激活教程  Myeclipse-2014-GA-破解文件 1.Windows版myeclipse下载地址 MyEclipse2015:myeclipse-2015-2014-07-11-offline-installer-windows.exe MyEclipse2014:myeclipse-spring-2014-GA-offline-installer-windows.exeMyEclipse2013:myeclipse-

新手破解教程:WinAudioRecorder破解(带注册机)

(不要问我为什么不在52写文章,不要问我!) 文章最后附带本次教程的WinAudioRecorder软件官方版及注册机,供大家学习交流使用 0x00.破解信息 [软件名称]:WinAudio Recorder [版本信息]:2.2.2.0 [编写语言]:Microsoft Visual C++ 7.0(PEID识别) [软件介绍]:一款简单易用的高质量声卡录音软件.能够以彻底CD音质录制各种Windows应用程序播放的音频信息.同时支持从麦克风/录音带/录像带或者其他的输入设备中输入的音频信号.

今天提示MyEclipse Trial Expired,如何手动获取MyEclipse 注册码!很牛!

1.建立JAVA Project,随便命名,只要符合规则就行. 2.在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,把.java里本来有的代码全部删掉,再把下面的代码复制到文件中.运行,按照提示输入一串字符,建议取名字的首字母,然后回车,会出现一串注册码,然后复制注册码. 如下图所示: 3.然后MyEclipse --> Subscription Information,按提示第一行输入你刚刚输入的字符串,第二行粘贴注册码即可. 如果成功的话应该会发现如下提示,

myeclipse trial expired 注册码解决办法

今天打开myeclipse提示软件到期了,遂百度了一条办法,亲测可行 1.建立一个Javaproject,把下面代码复制运行即可生成注册码,运行结果如下: 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