国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 編程設(shè)計(jì) > 正文

myeclipse試用一段時(shí)間后提示注冊(cè)碼失敗怎么激活?

2020-06-27 14:37:26
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

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

myeclipse,注冊(cè)碼

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

myeclipse,注冊(cè)碼

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

myeclipse,注冊(cè)碼

3、在該類下,加入下列打碼(將下列代碼復(fù)制到code類中)

 

復(fù)制內(nèi)容到剪貼板
  1. package demo;   
  2.   
  3. import java.io.BufferedReader;     
  4.   
  5. import java.io.IOException;     
  6.   
  7. import java.io.InputStreamReader;    
  8.   
  9. public class code {   
  10.   
  11. 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.";     
  12.   
  13. public String getSerial(String userId, String licenseNum) {     
  14.   
  15.   java.util.Calendar cal = java.util.Calendar.getInstance();     
  16.   
  17.   cal.add(1, 3);     
  18.   
  19.   cal.add(6, -1);     
  20.   
  21.   java.text.NumberFormat nf = new java.text.DecimalFormat("000");     
  22.   
  23.   licenseNum = nf.format(Integer.valueOf(licenseNum));     
  24.   
  25.   String verTime = new StringBuilder("-").append(     
  26.   
  27.     new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime()))     
  28.   
  29.     .append("0").toString();     
  30.   
  31.   String type = "YE3MP-";     
  32.   
  33.   String need = new StringBuilder(userId.substring(0, 1)).append(type)  .append("300").append(licenseNum).append(verTime).toString();     
  34.   
  35.   String dx = new StringBuilder(need).append(LL).append(userId)   .toString();     
  36.   
  37.   int suf = this.decode(dx);     
  38.   
  39.   String code = new StringBuilder(need).append(String.valueOf(suf))   .toString();     
  40.   
  41.   return this.change(code);  }     
  42.   
  43. private int decode(String s) {     
  44.   
  45.   int i;     
  46.   
  47.   char[] ac;     
  48.   
  49.   int j;     
  50.   
  51.   int k;     
  52.   
  53.   i = 0;     
  54.   
  55.   ac = s.toCharArray();     
  56.   
  57.   j = 0;     
  58.   
  59.   k = ac.length;     
  60.   
  61.   while (j < k) {     
  62.   
  63.    i = (31 * i) + ac[j];     
  64.   
  65.    j++;     
  66.   
  67.   }     
  68.   
  69.   return Math.abs(i);     
  70.   
  71. }     
  72.   
  73. private String change(String s) {     
  74.   
  75.   byte[] abyte0;  char[] ac; int i;  int k;  int j;     
  76.   
  77.   abyte0 = s.getBytes();     
  78.   
  79.   ac = new char[s.length()];     
  80.   
  81.   i = 0;     
  82.   
  83.   k = abyte0.length;     
  84.   
  85.   while (i < k) {     
  86.   
  87.    j = abyte0[i];     
  88.   
  89.    if ((j >= 48) && (j <= 57)) {     
  90.   
  91.     j = (((j - 48) + 5) % 10) + 48;     
  92.   
  93.    } else if ((j >= 65) && (j <= 90)) {     
  94.   
  95.     j = (((j - 65) + 13) % 26) + 65;     
  96.   
  97.    } else if ((j >= 97) && (j <= 122)) {     
  98.   
  99.     j = (((j - 97) + 13) % 26) + 97;     
  100.   
  101.    }     
  102.   
  103.    ac[i] = (char) j;     
  104.   
  105.    i++;     
  106.   
  107.   }     
  108.   
  109.   return String.valueOf(ac);     
  110.   
  111. }     
  112.   
  113. public code() {     
  114.   
  115.   super();     
  116.   
  117. }     
  118.   
  119. public static void main(String[] args) {     
  120.   
  121.   try {     
  122.   
  123.    System.out.println("please input register name:");     
  124.   
  125.    BufferedReader reader = new BufferedReader(new InputStreamReader(     
  126.   
  127.      System.in));     
  128.   
  129.    String userId = null;     
  130.   
  131.    userId = reader.readLine();     
  132.   
  133.   code myeclipsegen = new code();     
  134.   
  135.    String res = myeclipsegen.getSerial(userId, "5");     
  136.   
  137.    System.out.println("Serial:" + res);     
  138.   
  139.    reader.readLine();     
  140.   
  141.   } catch (IOException ex) {     
  142.   
  143.   }     
  144.   
  145. }     
  146.   
  147. }  

myeclipse,注冊(cè)碼

4、然后運(yùn)行該類。具體如下

myeclipse,注冊(cè)碼

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

myeclipse,注冊(cè)碼

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

myeclipse,注冊(cè)碼

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

myeclipse,注冊(cè)碼


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 类乌齐县| 汪清县| 兴隆县| 白沙| 安多县| 英山县| 肇源县| 万源市| 双江| 大埔区| 怀集县| 句容市| 涞源县| 宣化县| 连南| 永胜县| 盐津县| 醴陵市| 宜丰县| 商都县| 宽城| 哈尔滨市| 游戏| 泗水县| 保亭| 崇左市| 左权县| 怀化市| 台中县| 即墨市| 文山县| 陆良县| 策勒县| 偏关县| 洞头县| 江西省| 苏尼特右旗| 报价| 揭东县| 会同县| 大荔县|