本文转自:



手动生成MyEclipse注册码及序列号http://visionsky.blog.51cto.com/733317/340855

好多朋友在找myeclipse的注册码,下面介绍种自己生成注册码的方法,不用去网上找

<strong style="margin: 0px; padding: 0px; font-family:;" lucida="" grande',="" tahoma,="" sans-serif;=""> MyEclipse  注册码序列号生成(适用于7.0-8.5)
1、建立java Project,任意取个名字就行。
2、建立一个名字为MyEclipseGen的类文件,内容见下面。
3、运行该代码,在控制台中会出现:
please input register name:
×××××(你的name)
即生成序列号:
4、进入myeclipse,输入Subscriber和Subscription code即可。
MyEclipseGen类内容:
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) {
}
}
}

注: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.”;
此段代码常量不可变更 否则注册码无效

手动生成MyEclipse注册码及序列号(源代码)相关推荐

  1. 提示MyEclipse Trial Expired,手动获取MyEclipse 注册码

      1.建立JAVAProject,随便命名,只要符合规则就行. 2.在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,把.java里本来有的代码全部删掉,再把下面的代 ...

  2. php源代码序列号,php如何生成不重复的序列号

    php如何生成不重复的序列号 发布时间:2021-03-03 09:38:37 来源:亿速云 阅读:92 作者:清风 这篇"php如何生成不重复的序列号"除了程序员外大部分人都不太 ...

  3. MyEclipse注册码生成器

     package test; import java.util.Scanner; /** * MyEclipse(8.0,7.5,7.0,6.5,6.0...)的注册码生成代码 * * @Time ...

  4. mongoose手动生成ObjectId

    如果需要手动生成使用mongoose.Types.ObjectId()方法. var mongoose = require('mongoose'); var id = mongoose.Types.O ...

  5. 如何手动生成Dump文件并分析Dump文件

    大家都知道,当服务器出现蓝屏问题时,我们需要获取系统所产生的DUMP文件进行分析,如何确保在系统问题发生时,可以正确的生成所需要的DUMP文件呢?我们需要做如下检查: 1).右键点击"我的电 ...

  6. 用eclipse创建动态web项目手动生成web.xml方法

    转载自   用eclipse创建动态web项目手动生成web.xml方法 今天在学习JSP时先创建了一个web项目,后来在用到web.xml文件时,才发现项目创建时更本就没有自动创建web.xml文件 ...

  7. IEDA中JavaDoc的自动生成、手动生成,以及生成html文档

    1 自动生成类的注释 JavaDoc就是java特有的一种注释. 1.1 配置 首先,IDEA点击File-->Settings 然后Editor-->File and Code Temp ...

  8. linux手动生成dump文件权限不足_linux下生成dump文件方法及设置

    https://andyniu.iteye.com/blog/1965571 Linux中生成 Core Dump 文件的方法 1 什么是 Core Dump Core Dump 又叫核心转储.在程序 ...

  9. 【Junos】手动生成Core-dump文件

    常规情况下,当JUNOS进程异常或内核崩溃时,将自动生成一个Core-dump文件,有时故障排查的需要下,需手动的去生成一个Core-dump文件. 以NSD进程手动生成Core-dump为例: {p ...

最新文章

  1. 如何优雅地拿到30k月薪的offer?这几个大咖就是来帮你搞定薪水和面试官的
  2. 设计模式复习-解释器模式
  3. 手工部署Sqlserver CLR程序集
  4. Java18-day09【字节缓冲流、字符流、编码表、字符串与字符流中的编码解码问题、字符流读写数据的方式、字符缓冲流、IO流小结】
  5. JS常用的表单验证(数字、长度,汉字,邮箱,手机号,身份证等)
  6. MYSQL复制的几种模式
  7. P3733 [HAOI2017]八纵八横(线性基/线段树分治)
  8. jstack 脚本 自动日志_在 Linux 中使用 Bash 脚本删除早于 “X” 天的文件/文件夹...
  9. 张孝祖的第一次作业展示
  10. flask ai 简单语音对话
  11. 2022-2027年中国北斗卫星导航系统行业市场调研及未来发展趋势预测报告
  12. 老台式电脑怎么连热点_台式电脑怎样连接wifi热点,教你一招快速连接
  13. 现在企业常用考勤软件
  14. Android自定义View(CustomCalendar-定制日历控件)
  15. 阿里巴巴年度技术总结 - 人工智能在搜索的应用和实践
  16. Magento2.1x常见报错处理
  17. JAVA的getBytes()方法
  18. DC-DC升压变换器 直流隔离 高压稳压输出 电源模块
  19. cout保留两位小数位
  20. 养生医学背景PPT模板

热门文章

  1. wps分享为什么要登入_杭州诠网科技有限公司分享seo优化为什么要做网站地图
  2. ZGC的运行过程以及读屏障
  3. vb 与 .accdb 格式的access数据库的连接方法
  4. vb.net操作数据库之ACCESS(2)
  5. 电力系统卫星时钟同步(GPS北斗授时)组成及配置
  6. 数据传输/文件传输:两台电脑怎么传文件?
  7. 随机算法 之随机数的产生
  8. Mysql 数据库——Mysql 数据库管理
  9. PHP连接MySql/SQLServer数据库
  10. C#入门9.14——本章小结及任务实施