1. 程式人生 > >解決MyEclipse 10顯示Enter or update your subscription information.的問題,破解MyEclipse

解決MyEclipse 10顯示Enter or update your subscription information.的問題,破解MyEclipse

package testjson;
import java.text.DecimalFormat; 
import java.text.NumberFormat; 
import java.text.SimpleDateFormat; 
import java.util.Calendar;

public class Chack { 
//myeclipseBlue6.5破解,執行即可得到key
    public static final void main(String[] args){ 
        String id="……";   //這是指註冊的名稱
        String num="999"; 
        System.out.println(getSerial(id,"100",num,true));//修改為true
    } 
    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 = selected ? (new StringBuffer("-")).append( 
                (new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append( 
                "0").toString() : "-1805300";//這的時間是指註冊到期時間,可以自己修改
        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); 
    } 
}
經過執行上面的程式碼,會生成註冊碼

相關推薦

解決MyEclipse 10顯示Enter or update your subscription information.的問題破解MyEclipse

package testjson; import java.text.DecimalFormat; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.Ca

Java入門到精通——調錯篇之解決MyEclipse 輸入註冊碼後:Enter or update your subscription information.問題

       這幾天,我用MyEclipse做例子的時候總是出現下面圖上面的提示:        不用看就是註冊碼到期了要註冊。找了好幾個註冊碼總是出現Enter or update your subscription information.的提示也不能完成註冊這時候

解決easyui 中顯示Date型別資料為[object Object]json中格式化日期

javabean中 public class Ent{  /**   *   */  private static final long serialVersionUID = 456194500355659344L;      private String id;//主鍵

Your 30-day trial of MyEclipse has expired 解決方案

href bsp com lan ini arr catch this tex 今天MyEclipse提示過期了,MyEclipse Trial Expired. 網上找到了一個註冊類可以生成Myeclipse註冊碼. [java] view plain copy

解決OSX 10.13 High Sierra brew update問題

先解除安裝homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"   再次安裝: /usr/bin/ruby -e "$(cu

myeclipse 10 匯入專案之後顯示紅歎號

  有時候我們可能會在不同的地方程式設計  專案匯入跟匯出是必不可免的  但是有時候在匯入專案的時候專案上回顯示一個大大的紅歎號  這可能是在專案沒有匯入的時候刪除過一些jar包 雖然是刪掉了 但是專案上還是會引用你刪

Update Your Tax Registration Number or Business Legal Address

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

解決Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE

錯誤現象: 專案無法完成編譯,報錯如下: Plugin is too old,please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "

在Mac上安裝Myeclipse 10的步驟、破解安裝包的獲取及虛擬記憶體不足等問題的解決

在Mac上安裝Myeclipse 10的步驟及破解安裝包的獲取 1.下載安裝包及破解檔案 2.在安裝包拷貝到你希望的資料夾-解壓-安裝   在這個過程中有時候會出現問題:提示虛擬記憶體不足!!!

如何破解MyEclipse 10.x

sp1 現在 nbsp tools 計算機 批處理 pri windows 再次 本文以MyEclipse Professional 10.6 為例來介紹如何破解MyEclipse 10.x。 本文使用的破解補丁對MyEclipse Standard/ Pro

Atitit.angular.js 使用最佳實踐 原理與常見問題解決與列表顯示案例 attilax總結

依賴 實現 http dsi 概念 模板 style ctr net Atitit.angular.js 使用最佳實踐 原理與常見問題解決與列表顯示案例 attilax總結 1. 本文範圍 1 2. Angular的長處 1 2.1. 雙向數據綁定 1 2.2. d

iOS 蘋果開發證書失效的解決方案(Failed to locate or generate matching signing assets)

attempted can app 根證書 原因 ... emp ati dev 從2月14日開始,上傳程序的同學可能會遇到提示上傳失敗的提示. 並且打開自己的鑰匙串,發現所有的證書全部都顯示此證書簽發者無效. 出現以下情況: Failed to locate or gen

myeclipse 10 j安裝了JDK1.7java編譯器無法選擇到1.7的問題

ets ron ren build win pre 編譯器 eve aries 1,windows下preferences→java→Installed JRES後面如圖選擇你安裝的JDK1.7; 2windows下preferences→myeclips

解決Keystore was tampered with, or password was incorrect

keystore spa 定義 -m 選項 track san -i ros 使用簽名文件keystore查看生成的數字簽名中報錯解決 Keystore was tampered with, or password was incorrect 這是由於andro

angularJS解決數據顯示閃一下的問題?-解決辦法

-c lar bower body 數據 引入 span bind ext 使用 angular JS 的時候,把 angularJS 放到文件底部,在渲染頁面的時候,會出現閃一下的情況: 解決辦法一:使用 ng-cloak <style type="text/c

UEditor顯示Invalid or unexpected token

evel fun 方式 開發 upload script img nbsp 文章 原文鏈接http://www.qqdeveloper.com/a/53.html 問題背景 數據修改操作,需要做一個數據內容回顯,該內容中包含代碼、圖片、普通文本等等內容,反正就是各種內

解決“向終端顯示內容產生時間延遲”

create tel logs 內容 == 放置 函數 child spa ①將所有的腳本放置於HTML的末尾,這樣處理JS腳本的延遲會在頁面完成渲染之後出現②腳本加載:創建一段內嵌的JS代碼,動態的將腳本標簽附加到文檔後邊 示例: var remoteLoader =

MyEclipse 10 報錯記錄

servle ram problem ref ria == 報錯 eclipse 文件 1. js文件:右鍵 >> MyEclipse >> Exclude From Validation 2. Servlet 警告:Window ==> Pr

confirm顯示數組中的內容時總是帶一個逗號分隔的解決方法

script new arr sub blog item type onf val 問題的關鍵 就是在給confirm顯示之前,將數組轉換成字符串,並以每個數組的元素為一個字符串,加上一個換行回車符即可: 代碼中的背景色 為關鍵的點 <script type="te

ERROR: Could not create or update '/usr/local/nagios/var/nagios.configtest'

ren family 試用 span tin pda -s body 再次 [root@tomcat ~]# service nagios start Starting nagios:This account is currently not available. ERRO