MyEclipse6.5注册

貌似现在用MyEclipse6.5的人已经不多了,网上的大部分也都已过期,怀旧的人如果想快速得到一个MyElicpse6.5的注册码

Subscriber: dw008

Subscription Code:qLR8ZO-655444-62657456926512327

过期时间:20171029

对于注册码的生成,给出例子,先新建一个类MyeclipseGen

代码如下:

import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
/*
* 用于MyEclipse注册码的生成,其中id即为Subscriber,可随意更改,运行,在控制台会给出一个注册码,
* 对于无时间限制的,其实一般有效期为注册之日期的三年内。
* 对于有时间限制的,是通过调用getSerial函数的selected参数传入false来控制有效时间。
*/

public class MyeclipseGen {

public static final void main(String[] args) {
String id = "dw008"; // 可更给为您的名字
String num = "999";// 许可证数量
System.out.println(getSerial(id, "100", num, false));
}
public static String getSerial(String userId, String version,
String licenseNum, boolean selected) {
Calendar cal = Calendar.getInstance();
cal.add(1, 3);
cal.add(6, -1);
NumberFormat nf = new 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 verTime = selected ? (new StringBuffer("-")).append(
(new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append(
"0").toString() : "-1512310";*/

String type = "YE3MB-";
String need = (new StringBuffer(String.valueOf(userId.substring(0, 1))))
.append(type).append(version).append(licenseNum)
.append(verTime).toString();
String dx = (new StringBuffer(String.valueOf(need)))
.append(
"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.")
.append(userId).toString();
int suf = decode(dx);
String code = (new StringBuffer(String.valueOf(need))).append(
String.valueOf(suf)).toString();
return change(code);
}
private 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);
}
private 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);
}
}

时间: 2024-08-10 14:59:42

MyEclipse6.5注册的相关文章

MyEclipse6.5注册机留档备查,有效期至2017年

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /**  * MyEclipse6.5注册机  * @author Administrator  * @version 1.0  * @create Dec 2, 2014  * @description  */ public class MyeclipseKeyGen {  private static fin

myeclipse6.5注册机

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 agreement and the

基于MyEclipse6.5的ssh整合

1.编写目的 为了学习,为了更好的学习java. 为了让想要学习这个整合的人少走弯路! ! ! 2.实验环境 l MyEclipse6.5 l JBoss4.2.1 l SQL2005 l 数据库脚本程序 CREATE TABLE student ( id int(11) NOT NULL auto_increment, name varchar(30) not-null, password varchar(50) default NULL, PRIMARY KEY (id) ); 初始设置用户

MyEclipse6.5注册码(转)

新装的MyEclipse6.5在网上找了半天的注册码,都不可用.将下面的代码放在MyEclipse下运行后,可以得到注册码.这相当于一个注册机.我得到的如下: administrator nLR8ZC-855550-60675256396752354 断网粘贴上去之后: Subscriber: administratorProduct ID: E3MP (MyEclipse Professional Subscription)License version: 3.0Full Maintenanc

C# 远程服务器 安装、卸载 Windows 服务,读取远程注册表,关闭杀掉远程进程

这里安装windows服务我们用sc命令,这里需要远程服务器IP,服务名称.显示名称.描述以及执行文件,安装后需要验证服务是否安装成功,验证方法可以直接调用ServiceController来查询服务,也可以通过远程注册表来查找服务的执行文件:那么卸载文件我们也就用SC命令了,卸载后需要检测是否卸载成功,修改显示名称和描述也用sc命令.至于停止和启动Windows服务我们可以用sc命令也可以用ServiceController的API,当停止失败的时候我们会强制杀掉远程进程,在卸载windows

Windows Server下把BAT批处理注册成服务在后台运行且注销后能正常运行

批处理有如下特点: 1.登录到当前窗口运行时,如果关闭控制台会连同启动的程序一起关闭. 2.如果是以start /b的形式启动,那么同样也是在控制台关闭后者注销当前窗口也会一起关闭. 3.如果以vbs的形式启动,注销当前用户也会一起关闭. 有如下方式解决: 1.使用[任务计划]去启动批处理,里面有很多个触发点,可以选择[计算机启动时]触发也能达到开机启动的效果,而不用登录桌面. 2.有错误启动Windows Service方式,用[sc]命令注册服务,然后以cmd.exe的形式去启动(C:\Wi

也来说说关于未在本地计算机上注册“VFPOLEDB.1”的程序的解决方法

大家都知道VFP是一个非常古老的数据库.但是,还有一些单位用到这些数据库. 前段时间,也做了一个关于DBF数据导出的功能的测试.程序以前有同事写好了,但当我进行修改调试的时候,问题就出来了. 调试的时候,一切都是正常的,VFPOLEDBSetup.msi这个肯定得先安装. 但是,架设到IIS上之后,就不行了,出现未在本地计算机上注册"VFPOLEDB.1"的程序这样的错误. 由于之前也没碰过DBF文件导入导出或者操作方面的问题,所以,第一想到的是百度. 百度上面,当然有好多答案,基本上

微信小程序 app注册小程序+page注册页面代码一

注册小程序代码:app.js //app.js App({ onLaunch: function(){ var log = wx.getStorageSync("logs") || [] log.unshift(Date.now()) wx.setStorageSync("logs", log) wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey, unionId } })

利用PHP实现登录与注册功能以及使用PHP读取mysql数据库——以表格形式显示数据

登录界面 <body><form action="login1.php" method="post"><div>用户名:<input type="text" name="uid" /></div><br /><div>密码:<input type="password" name="pwd" />