MyEclipse8.0的下载及安装注册

来源:互联网 发布:java 分布式并发 编辑:程序博客网 时间:2024/04/28 15:42

之前用过Eclipse,但是觉得太麻烦了,总是要下载很多插件,于是就想用用MyEclipse,刚刚用了,觉得挺好用的,比Eclipse好用,唯一缺点就是要注册一下,不过没关系,网络这么发达,总是会有办法的。于是在网上搜了搜,终于成功的下载了MyEclipse8.0及成功的注册了。所以今天分享一下!这就是网络的好处啊!!(*^__^*) 嘻嘻……

   好了,废话少说,来个正文吧!

首先先下载MyEclipse8.0

 

 

Myeclipse8.0(GA)官方下载地址:http://downloads.myeclipseide.com/downloads/products/eworkbench/galileo/myeclipse-8.0.0-win32.exe

 

    我的就是直接从这个地址下载的,能下载。可是我上网查了,有些说官网上下不了,但是可以用代理下载,有些是直接标明必须用迅雷下,我不知道这是为什么,  可能是迅雷上有代理下载吧!

    如果这个网址下不了的话,可以使用免费代理,下面是免费代理的步骤:

  

      首先下载 商业街免费信息 提供的上传的  自由门免费代理工具 下载地址:http://3yj.com/free-gate-free-agent-tools/

软件成功运行之后,自动弹出IE浏览器,说明代理成功,不用管它。

      然后打开迅雷---工具----代理设置----使用IE代理服务器---点击应用即可

 

 

 

  下载成功后,就是安装MyEclipse8.0,安装的细节就不需要我多讲了吧。

 

  安装成功了,下一步就是如何注册了。

  

  我们打开MyEclipse8.0,然后写一个Java程序,这个程序的代码如下:

 

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, "20");
System.out.println("Serial:" + res);
reader.readLine();
} catch (IOException ex) {
}
}
}

 

写好了以后,我们就跑一下,然后就出现如下图所示:

 

 

如图所示:输入你的用户名name,它就会自动生成注册码,蓝色部分就是自动生成的注册码

 

 

先别关了这个程序,我们先复制注册码,然后点击MyEclipse--preferences---Subscription,录入生成的用户和注册码

如图所示:

 

 

然后点击“Enter Subscription...”进入注册

 

输入你的用户名和序列号,点击finish就可以了

 

嘿嘿,这就是我注册成功的MyEclipse8.0,好像能用三年呢。

 

 

当然咯,有些人可能嫌麻烦,那你可以上网去搜现成的用户名和注册码序列号,直接注册就行了,不过我是比较喜欢这注册的过程的,这让我比较有成就感!

 好了,分享到这里了,以后又什么好的东西我会跟大家分享的。