myeclipse試用一段時間后提示注冊碼失敗怎么激活?
發(fā)布時間:2016-02-15 15:58:18 作者:佚名
我要評論

myeclipse試用一段時間后提示注冊碼失敗怎么激活?經(jīng)常使用myeclipse,但是試用一段時間就會彈出注冊碼失效了,還需要重新下載,太麻煩了,有沒有其他的技巧解決這個問題呢?下面分享一個方法,需要的朋友可以參考下
下載后的myeclipse用了一段時間后,彈出注冊碼失效了怎么辦?今天給大家分享如何破解myeclipse
1、打開你的myeclipse,新建一個java項目。
2、在新建的項目下創(chuàng)建一個類,具體如下步驟。
3、在該類下,加入下列打碼(將下列代碼復制到code類中)
復制內容到剪貼板
- package demo;
- import java.io.BufferedReader;
- import java.io.IOException;
- import java.io.InputStreamReader;
- public class code {
- 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 code() {
- 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();
- code myeclipsegen = new code();
- String res = myeclipsegen.getSerial(userId, "5");
- System.out.println("Serial:" + res);
- reader.readLine();
- } catch (IOException ex) {
- }
- }
- }
4、然后運行該類。具體如下
5、運行后控制,輸入登錄賬戶然后回城就能生產(chǎn)注冊碼。
6、在myeclipse欄目下找到subscription information選項
7、將生成的注冊碼復制到對應位置,完成激活(一定時間內)。
相關推薦:
myeclipse怎么導出war包?Web項目導出war包的方法
myeclipse創(chuàng)建spring配置文件正確卻顯示紅叉該怎么辦?
相關文章
Myeclipse 2017 CI3漢化破解安裝圖文教程(附破解工具)
MyEclipse 2017是一款全球使用最為廣泛的企業(yè)級開發(fā)環(huán)境程序,為了讓用戶更好的使用該軟件,下面提供最新MyEclipse2017 ci3破解版,并分享了2017 ci3漢化破解教程,希望對2017-03-03- MyEclipse作為Java EE最受歡迎的IDE,如今最新版本為2014版,今天給大家?guī)鞰yEclipse 2014安裝破解詳細圖文教程。希望對大家有所幫助2014-07-21
MyEclipse 10.x 通用破解教程圖文詳解(附官方安裝包下載)
本文以MyEclipse Professional 10.6 為例來介紹如何破解MyEclipse 10.x2014-04-07- MyEclipse 是一個十分優(yōu)秀的用于開發(fā)Java, J2EE的 Eclipse 插件集合,MyEclipse的功能非常強大,支持也十分廣泛,尤其是對各種開元產(chǎn)品的支持十分不錯2024-05-06
- MyEclipse 2013使用最高級的桌面和Web開發(fā)技術,包括 HTML5 和 Java EE 6,支持 JPA 2.0、JSF 2.0 、Eclipselink 2.1 以及 OpenJPA 2.0,這里介紹一下他的注冊免費方法2013-07-21
MyEclipse 8.0正式版發(fā)布(下載以及安裝+注冊碼+升級)
MyEclipse Enterprise Workbench(企業(yè)級工作平臺) 8.0版發(fā)布了! MyEclipse是對Eclipse IDE的擴展,利用它我們可以在數(shù)據(jù)庫和J2EE的開發(fā)、發(fā)布,以及應用程序服務器的整合2013-05-25- MyEclipse 9.0的激活機制終于破解了,破解步驟比老版本要復雜一些,但是是絕對可以破解的,這個破解對主程序無任何修改,只替換公鑰,如果有牛人會快速從公鑰反推私鑰,那2013-03-08
myeclipse10.0怎么激活? myeclipse10.0及以上版本的激活教程
myeclipse10.0怎么激活??電腦安裝了myeclipse10.0后想激活,該怎么辦呢?今天我們就來看看myeclipse10.0及以上版本的激活教程,注意,安裝好以后不要打開,詳細教程請看下2016-03-02- MyEclipse,是十分優(yōu)秀的用于開發(fā)Java, J2EE的Eclipse插件集合,MyEclipse的功能非常強大,支持也十分廣泛,尤其是對各種開源產(chǎn)品的支持十分不錯,下文小編就為大家?guī)韒ye2017-09-05
eclipse和myeclipse安裝教程及eclipse漢化教程(圖文)
本文使用圖文的方式介紹了eclipse和myeclipse安裝教程及eclipse漢化教程,大家參考使用吧2014-01-22