注:本文是转帖。
本博客已经迁往 http://blog.xianyun.org ,本博客不在更新。本文地址已经迁往 http://blog.xianyun.org/2007/01/myeclipse51.html 。
此处注册源码被blogjava博客系统自作聪明编辑过,如果不能正确运行,请到新地址拷贝源码,闲耘将来再提供源码下载。另,最近有不少朋友提出要闲耘给他发MyEclipse,但是由于MyEclipse5.1文件较大,压缩文件有217M之大,故不能邮件附件发送,请多原谅。
对于不能下载MyEclipse的朋友,闲耘提供的是 MyEclipse的官方地址 ,如果你发现不能下载,请另选择一个时段来下载。
<script type="text/javascript"> // </script>
本博客已经迁往 http://blog.xianyun.org ,本博客不在更新。本文地址已经迁往 http://blog.xianyun.org/2007/01/myeclipse51.html 。
此处注册源码被blogjava博客系统自作聪明编辑过,如果不能正确运行,请到新地址拷贝源码,闲耘将来再提供源码下载。另,最近有不少朋友提出要闲耘给他发MyEclipse,但是由于MyEclipse5.1文件较大,压缩文件有217M之大,故不能邮件附件发送,请多原谅。
对于不能下载MyEclipse的朋友,闲耘提供的是 MyEclipse的官方地址 ,如果你发现不能下载,请另选择一个时段来下载。
对于需要Linxu版本的: 你可以去MyEclipse的
官方网站
下载,下面的地址列出了所有系统平台的下载地址,第二个就是for RedHat Linux的:
http://myeclipseide.com/index .php?name=Downloads&req =viewsdownload&sid=15
2007年5月18日
2007年5月18日
下载myeclipse5.1的话需要去myeclipse的官方网站,共有100多M之大, 点击这里进入下载 (进入官方网站后点download area,注册一个用户进行下载,如果你的确下不了,也可留言给我,我发给你。),下在完成后接下来就是注册了。
如果你之前是用过myeclise3.2之类的话就无需再注册,新安装完成后就原来的注册仍然有效。如果你是新安装的话就需注册了,你可以使用以前的myeclise3.2的注册机来注册,算法并没有改变,如果你要找3.x的注册机的话,用不着了。下面我贴出注册机的java源代码,直接运行此class就能生成注册码并可成功注册。
注册机源代码如下
public
class
Main
{
private static final String L = " 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 static void main(String[] args) {
String userId = "xianyun " ;
// MyEclipse4.1 GA
// 其中491(4.9.1)/400(4.0)/401(4.1)/501(5.1.0),()内为版本号,9912310代表注册码过期时间2099/12/31
String need = userId.substring( 0 , 1 ) + " YE3MP-401-00-9912310 " ;
// MyEclipse4.0.0 GA
// String need = userId.substring(0,1) + "YE3MP-400-01-9912310";
// MyEclipse4.9.1
// String need = userId.substring(0,1) + "YE3MP-491-01-9912310";
// MyEclipse5.1.0 GA
// String need = userId.substring(0,1) + "YE3MP-501-00-9912310";
String dx = need + L + userId;
int suf = decode(dx);
// System.out.println("SUF:"+suf);
String code = need + suf;
System.out.println(change(code));
}
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);
}
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);
}
}
private static final String L = " 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 static void main(String[] args) {
String userId = "xianyun " ;
// MyEclipse4.1 GA
// 其中491(4.9.1)/400(4.0)/401(4.1)/501(5.1.0),()内为版本号,9912310代表注册码过期时间2099/12/31
String need = userId.substring( 0 , 1 ) + " YE3MP-401-00-9912310 " ;
// MyEclipse4.0.0 GA
// String need = userId.substring(0,1) + "YE3MP-400-01-9912310";
// MyEclipse4.9.1
// String need = userId.substring(0,1) + "YE3MP-491-01-9912310";
// MyEclipse5.1.0 GA
// String need = userId.substring(0,1) + "YE3MP-501-00-9912310";
String dx = need + L + userId;
int suf = decode(dx);
// System.out.println("SUF:"+suf);
String code = need + suf;
System.out.println(change(code));
}
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);
}
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);
}
}