MyEclipse6.5注册码(转)

新装的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) {   
  }   
}   
}

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/alifel/archive/2010/01/28/5264854.aspx

时间: 2024-10-29 00:32:30

MyEclipse6.5注册码(转)的相关文章

myEclipse6.5注册码生成

1 import java.text.DecimalFormat; 2 import java.text.NumberFormat; 3 import java.text.SimpleDateFormat; 4 import java.util.Calendar; 5 6 public class MyEclipseCrack { 7 // 8 public static final void main(String[] args) { 9 //Subscriber 10 String id =

100个Myeclipse6.5免费注册码

下面提供了100个MyEclipse6.5的注册码供大家使用: register name:cghidigfa Serial:pLR8ZC-855550-6359775146444620 ----------------------------------------------- register name:efefhgcgc Serial:rLR8ZC-855550-6359775849035662 ----------------------------------------------

生成MyEclipse6.5&amp;7.5&amp;8.0注册码的java源码

//运行后即可得到注册码 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class MyEclipseKeyGen { private static final String LL = "Decompiling this copyrighted software is a violation of both your license agree

MyEclipse6.5&amp;7.5&amp;8.0 注册码的java源码

package com.souvc; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class MyeclipseGenKey { private static final String LL = "Decompiling this copyrighted software is a violation of both your license

MyEclipse6.5注册

貌似现在用MyEclipse6.5的人已经不多了,网上的大部分也都已过期,怀旧的人如果想快速得到一个MyElicpse6.5的注册码 Subscriber: dw008 Subscription Code:qLR8ZO-655444-62657456926512327 过期时间:20171029 对于注册码的生成,给出例子,先新建一个类MyeclipseGen 代码如下: import java.text.DecimalFormat;import java.text.NumberFormat;i

MyEclipse6.0神key

1.新建MyEclipseGen.java文件 2.添加如下代码内容到MyEclipseGen.java文件 1 import java.io.BufferedReader; 2 import java.io.IOException; 3 import java.io.InputStreamReader; 4 public class MyEclipseGen { 5 private static final String LL = "Decompiling this copyrighted s

注册码记录(持续更新)

VM12虚拟机注册码:VY1DU-2VXDH-08DVQ-PXZQZ-P2KV8(Pro也可以)

python全栈开发之pycharm2016软件注册码_Day1

pycharm软件下载地址 https://www.jetbrains.com/pycharm/ pycharm 2016 注册码 1 43B4A73YYJ-eyJsaWNlbnNlSWQiOiI0M0I0QTczWVlKIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2U

注册码

注册码 pycharm 2016 43B4A73YYJ-eyJsaWNlbnNlSWQiOiI0M0I0QTczWVlKIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2