myeclipse試用一段時(shí)間后提示注冊(cè)碼失敗怎么激活?
下載后的myeclipse用了一段時(shí)間后,彈出注冊(cè)碼失效了怎么辦?今天給大家分享如何破解myeclipse

1、打開(kāi)你的myeclipse,新建一個(gè)java項(xiàng)目。

2、在新建的項(xiàng)目下創(chuàng)建一個(gè)類(lèi),具體如下步驟。

3、在該類(lèi)下,加入下列打碼(將下列代碼復(fù)制到code類(lèi)中)
- 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、然后運(yùn)行該類(lèi)。具體如下

5、運(yùn)行后控制,輸入登錄賬戶(hù)然后回城就能生產(chǎn)注冊(cè)碼。

6、在myeclipse欄目下找到subscription information選項(xiàng)

7、將生成的注冊(cè)碼復(fù)制到對(duì)應(yīng)位置,完成激活(一定時(shí)間內(nèi))。

相關(guān)推薦:
myeclipse怎么導(dǎo)出war包?Web項(xiàng)目導(dǎo)出war包的方法
myeclipse創(chuàng)建spring配置文件正確卻顯示紅叉該怎么辦?
相關(guān)文章

Myeclipse 2017 CI3漢化破解安裝圖文教程(附破解工具)
MyEclipse 2017是一款全球使用最為廣泛的企業(yè)級(jí)開(kāi)發(fā)環(huán)境程序,為了讓用戶(hù)更好的使用該軟件,下面提供最新MyEclipse2017 ci3破解版,并分享了2017 ci3漢化破解教程,希望對(duì)2017-03-03- MyEclipse作為Java EE最受歡迎的IDE,如今最新版本為2014版,今天給大家?guī)?lái)MyEclipse 2014安裝破解詳細(xì)圖文教程。希望對(duì)大家有所幫助2014-07-21
MyEclipse 10.x 通用破解教程圖文詳解(附官方安裝包下載)
本文以MyEclipse Professional 10.6 為例來(lái)介紹如何破解MyEclipse 10.x2014-04-07
Myeclipse 2013 注冊(cè)解鎖詳細(xì)圖文步驟
MyEclipse 是一個(gè)十分優(yōu)秀的用于開(kāi)發(fā)Java, J2EE的 Eclipse 插件集合,MyEclipse的功能非常強(qiáng)大,支持也十分廣泛,尤其是對(duì)各種開(kāi)元產(chǎn)品的支持十分不錯(cuò)2024-05-06
Myeclipse 2013 下載安裝注冊(cè)免費(fèi)圖文教程
MyEclipse 2013使用最高級(jí)的桌面和Web開(kāi)發(fā)技術(shù),包括 HTML5 和 Java EE 6,支持 JPA 2.0、JSF 2.0 、Eclipselink 2.1 以及 OpenJPA 2.0,這里介紹一下他的注冊(cè)免費(fèi)方法2013-07-21MyEclipse 8.0正式版發(fā)布(下載以及安裝+注冊(cè)碼+升級(jí))
MyEclipse Enterprise Workbench(企業(yè)級(jí)工作平臺(tái)) 8.0版發(fā)布了! MyEclipse是對(duì)Eclipse IDE的擴(kuò)展,利用它我們可以在數(shù)據(jù)庫(kù)和J2EE的開(kāi)發(fā)、發(fā)布,以及應(yīng)用程序服務(wù)器的整合2013-05-25MyEclipse9.0正式版的破解和激活方法(附注冊(cè)機(jī))
MyEclipse 9.0的激活機(jī)制終于破解了,破解步驟比老版本要復(fù)雜一些,但是是絕對(duì)可以破解的,這個(gè)破解對(duì)主程序無(wú)任何修改,只替換公鑰,如果有牛人會(huì)快速?gòu)墓€反推私鑰,那2013-03-08myeclipse10.0怎么激活? myeclipse10.0及以上版本的激活教程
myeclipse10.0怎么激活??電腦安裝了myeclipse10.0后想激活,該怎么辦呢?今天我們就來(lái)看看myeclipse10.0及以上版本的激活教程,注意,安裝好以后不要打開(kāi),詳細(xì)教程請(qǐng)看下2016-03-02- MyEclipse,是十分優(yōu)秀的用于開(kāi)發(fā)Java, J2EE的Eclipse插件集合,MyEclipse的功能非常強(qiáng)大,支持也十分廣泛,尤其是對(duì)各種開(kāi)源產(chǎn)品的支持十分不錯(cuò),下文小編就為大家?guī)?lái)mye2017-09-05
eclipse和myeclipse安裝教程及eclipse漢化教程(圖文)
本文使用圖文的方式介紹了eclipse和myeclipse安裝教程及eclipse漢化教程,大家參考使用吧2014-01-22




