Myeclipse提示MyEclipse Trial Expired
遇到Myeclipse提示MyEclipse Trial Expired
解决方案:
通过尝试各种方法,表示以下这个较为实用便捷,亲测可用!
1.在开发工具中创建工程
2.引入以下代码
3.运行主函数
运行截图:
代码:
package com;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);} catch (Exception e) {}}
}
Myeclipse提示MyEclipse Trial Expired相关推荐
- myeclipse trial expired
今天MyEclipse提示过期了,MyEclipse Trial Expired. 网上找到了一个注册类可以生成Myeclipse注册码. import java.io.*; public class ...
- MyEclipse提示过期,MyEclipse Subscription Expired激活方案
一.错误描述 紧接上文,虽然解决了MyEclipse提示过期问题,但是你会发现出现一行红色提示如下: 1.错误日志 Product activation must be completed withi ...
- (MyEclipse) MyEclipse完美破解方法(图)
http://photo.blog.sina.com.cn/list/blogpic.php?pid=53358777td408badc4071&bid=533587770101dd03&am ...
- MyEclipse:MyEclipse软件界面简介(菜单栏、工具栏、侧边栏、工作区)之详细攻略
MyEclipse:MyEclipse软件界面简介(菜单栏.工具栏.侧边栏.工作区)之详细攻略 目录 MyEclipse软件界面简介(菜单栏.工具栏.工作区) 菜单栏 工具栏 侧边栏
- 提示MyEclipse Trial Expired,手动获取MyEclipse 注册码
1.建立JAVAProject,随便命名,只要符合规则就行. 2.在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,把.java里本来有的代码全部删掉,再把下面的代 ...
- MyEclipse提示键配置、提示快捷键、提示背景色、关键字颜色、代码显示
1.提示键配置 一般默认情况下,Eclipse ,MyEclipse 的代码提示功能是比Microsoft Visual Studio的差很多的 ,主要是Eclipse ,MyEclipse本身有很多 ...
- MyEclipse提示Errors occurred during the build
最近在使用Extjs 在springsource Tool Suite运行时老是出现: Errors occurred during the build. Errors running builder ...
- myeclipse 提示为空白的问题
为什么80%的码农都做不了架构师?>>> 解决办法: 将图中红色框的多选框勾选上 转载于:https://my.oschina.net/cimu/blog/210296
- myeclipse进入Myeclipse configuration center 如何关闭
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 找到这个图标,放上去显示return即可关闭,隐藏很深有木有
- MyEclipse 快捷键及经验总结
Ctrl+Shift+L 显示所有快捷键 Ctrl+K 参照选中的词(Word)快速定位到下一个 Ctrl+Shift+K 参照选中的词(Word)快速定位到上一个 C ...
最新文章
- 百度要造什么车?汽车依然逃不出 BAT 的手掌心 | 撩车
- 最全蚂蚁金服高级Java面试题目(3面)
- java-图像的几何变换
- MssqlOnLinux 主从集群【2】
- pythonweb接口优化_记一次flask web接口速度优化
- intval0.57100 php_关于PHP浮点数之 intval((0.1+0.7)*10) 为什么是7
- Git VsCode 一步一步把本地目录放到git仓库
- linux su命令快捷键,Linux下su与su -命令的区别
- 一分钟让你了解蓝桥杯(电子类)单片机比赛规则
- adb命令之service call
- Data truncation: Data too long for column 'xxx' at row 1
- 记录seata初踩坑
- 【论文笔记】知识图谱推理PRA——Relational retrieval using a combination of path-constrained random walks
- Cython入门:将python代码转为cython
- 蓝牙耳机啥牌子音质好?听音乐最好的蓝牙耳机分享
- blockIO trace
- ES analyzer和search_analyzer的比较
- Ubuntu12.04 Rhythmbox 乱码
- error PRJ0019的一个解决心得
- 金士顿(8G)U盘性能测试