新装的MyEclipse6.5在网上找了半天的注册码,都不可用。将下面的代码放在MyEclipse下运行后,可以得到注册码。这相当于一个注册机。我得到的如下:
administrator
nLR8ZC-855550-60675256396752354
断网粘贴上去之后:
Subscriber: administrator
Product ID: E3MP (MyEclipse Professional Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20151207
Number of licenses: 5
可以用到2015年!真的不错!
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) {
}
}
}
分享到:
相关推荐
Myeclipse6.5整合Flex3详细教程
MyEclipse 6.5 是一个功能强大且流行的 Java 集成开发环境(IDE),提供了许多实用的功能和工具来帮助开发者更快速、更高效地开发 Java 项目。下面,我们将详细介绍 MyEclipse 6.5 的下载、注册和汉化过程。 下载 ...
MyEclipse6.5开发中文教程是pdf格式的,Myeclipse6.5汉化包中有解压说明,建议大家在解压之前先覆盖之前先把原来的备份下来,这样可以中英文切换使用,非常的爽~
Myeclipse6.5的vss插件 Myeclipse6.5的vss插件 Myeclipse6.5的vss插件
解决内部问题, 搭建J2EE开发环境 myEclipse6.5+Tomcat7 搭建环境 eclipse
只要将eclipse文件夹拷贝到MyEclipse 6.5 的根目录,将MyEclipse 6.5目录的 eclipse文件夹内的文件覆盖即可(这个文件夹中不含.exe文件),在拷贝的过程中 会出现文件覆盖的弹出窗口,点击“确定即可”。 然后重新...
Myeclipse6.5 svn配置,免费资源,仅供参考!
将该类执行,得到的结果 即为Myeclipse6.5 的破解码
myeclipse6.5破解版part1
myeclipse6.5破解版part7
放到myeclipse6.5集成开发环境中 会生成注册码 开发工具必备
myeclipse6.5汉化教程+汉化包 myeclipse6.5汉化
myeclipse6.5产品密钥
MyEclipse6.5MyEclipse6.5MyEclipse6.5MyEclipse6.5
讲解在myeclipse6.5下axis2插件的安装,内容包含到怎么把axis2-eclipse-codegen-wizard-1.4.zip和axis2-eclipse-service-archiver-wizard-1.4.zip包解压放到myeclipse6.5\eclipse\plugin下面和link文件的设置
Myeclipse6.5 安装过程全记录,包括详尽的文字和图片说明,安装过程中对特别的注意事项做了标注,能使您快速方便的安装该软件,开始您的JAVA之旅。该文档系个人总结,不足之处,敬请谅解!!
请注意:这是 MyEclipse 6.5 Blue 版本的注册码 ,对其它版本不适用,注册时要断网
试用myeclipse6.5的同学可以很简单的在myeclipse6.5中来配置SVN 代码版本控制工具。
myeclipse6.5 注册码
MyEclipse6.5的快捷使用 2.汉化: