myecilpse6.5的注册码生成器

首先,打开MyEclipse 6.5;

在主菜单栏处依次点“help”-->“software update”-->“Find And Install”;

选择第2项(search for new features to install),然后点next;然后选择New Remote Site,弹出一个对话框,有两项,第一项是要你起个名字,随便起,就叫language吧,第2项是个URL,填入:http://download.eclipse.org/technology/babel/update-site/europa 这个下载地址,然后点finish;

(Eclipse 3.4 汉化更新地址为http://download.eclipse.org/technology/babel/update-site/ganymede

更新了一段时间后,会弹出一个对话框,让你选择一个站点,我选择了china(shanghai)这个下载站点,选择好站点后,又更新一段时间,然后会弹出一个语言包列表框(language pack),一共有29个语言包,我们不需要全部下载,只需下载“simple chinese”这个语言包就行了,选择好后,点next,继续下载更新。最后,会弹出一个对话框,让你选择安装路径,默认即可,点"finish"。下载完后,会提示你安装,然后点“install all”就行了。安装完后,提示要关闭并重启MyEclipse;关闭后重新打开MyEclipse即可~~

[code="java"]package com.packages;

import java.io.BufferedReader;  
import java.io.IOException;  
import java.io.InputStreamReader;  
 
public class Sczcm {  
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 = 48) && (j = 65) && (j = 97) && (j

猜你喜欢

转载自keyboard0205.iteye.com/blog/1478365