最近,我用的myeclipse6.5Blue版本快过期了,找了好久都没找到合适的注册码,都是些有效期为2009年12月31日的注册码。今天29号了,本来打算把所有的sakai工具再重新导入到另外的的myeclipse的,没想到一找竟然让我找到了,可能有些人需要吧,特把这篇文章转载如下:
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class faa {
public static final void main(String[] args){
String id="juny";
String num="999";
System.out.println(getSerial(id,"100",num,false));
}
public static String getSerial(String userId, String version,
String licenseNum, boolean selected) {
Calendar cal = Calendar.getInstance();
cal.add(1, 3);
cal.add(6, -1);
NumberFormat nf = new DecimalFormat("000");
licenseNum = nf.format(Integer.valueOf(licenseNum));
String verTime = selected ? (new StringBuffer("-")).append(
(new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append(
"0").toString() : "-0912310";
String type = "YE3MB-";
String need = (new StringBuffer(String.valueOf(userId.substring(0, 1))))
.append(type).append(version).append(licenseNum)
.append(verTime).toString();
String dx = (new StringBuffer(String.valueOf(need)))
.append(
"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.")
.append(userId).toString();
int suf = decode(dx);
String code = (new StringBuffer(String.valueOf(need))).append(
String.valueOf(suf)).toString();
return change(code);
}
private static int decode(String s) {
int i = 0;
char ac[] = s.toCharArray();
int j = 0;
for (int k = ac.length; j < k; j++)
i = 31 * i + ac[j];
return Math.abs(i);
}
private static String change(String s) {
byte abyte0[] = s.getBytes();
char ac[] = new char[s.length()];
int i = 0;
for (int k = abyte0.length; i < k; i++) {
int 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;
}
return String.valueOf(ac);
}
}
仔细看
getSerial(id,"100",num,false)
发现了一个重要的参数false,看下面的代码
String verTime = selected ? (new StringBuffer("-")).append(
(new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append(
"0").toString() : "-0912310";
false执行的就是0912310了,在网上找到能用的注册码都是09年12月31日过期,所以修改参数false为true,就得到了新的注册码。
分享到:
相关推荐
myeclipse 6.5blue 注册码
请注意:这是 MyEclipse 6.5 Blue 版本的注册码 ,对其它版本不适用,注册时要断网
MyEclipse6.5 Blue 注册码生成器
MyEclipse 6.5 Blue 注册码 源码下载 可用到2013年12月5日
MyEclipse6.5 Blue Edition的注册码,到2016年的,很难找哦
myeclipse Blue 绿色版本的注册码 ,。。
适用版本:MyEclipse Blue Edition Version: 6.5.0 Blue GA Build id: 6.5.0-Blue-GA-20080609 有效期可以自己设置,输入用户名,设定日期,用java命令运行,即可获得CDKEY,永不过时
myeclipse 6.5 GA& Myeclipse 6.5 Blue 都可用的key 到2010年12月31日
MyEclipse 6.5 Blue Edition - Milestone 1注册机源码 ,自己定义注册名字运行后获得注册码!文件为java源码
MyEclipse 6.5 Blue 的序列号 绝对好用,用好的记得评价下 谢谢
myeclipseBlue6.5破解,运行即可得到key(创建相同的类运行即可得到key
Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机
新建个java类,可以自己修改注册名和注册码,过期时间也可自己修改,代码中有标注,运行后生成注册码 再提供一个2014年12月31号过期的注册码: jiangxl wLR8ZO-655888-69678656242496607
myeclipse6.5 blue 注册机
把文件名改成程序中的类名.java 运行程序得到注册码,用户名:zhangzunwei;可以在程序中修改
Myeclipse blue 6.5 序列号计算工具 Myeclipse blue 6.5 序列号计算工具
MyEclipse6.5注册码 可以使用到2016 最新
直接在Myeclispe中建立Java ...Product ID: E3MB (MyEclipse Blue Subscription) License version: 1.0 Full Maintenance Included Subscription expiration date (YYYYMMDD): 20081231 Number of licenses: 30
绝对好用的注册信息。MyEclipse 6.5 (blue) 自己亲手测试过。所以资源分要高。见谅啊,呵呵!!
可以让MyEclipse有效期延长到2012年12月31日