MyEclipse 8.5 Hack method

Source: Internet
Author: User
Tags dmca

Turn from: http://blog.sina.com.cn/s/blog_70600f7201018pib.html, record down archive

Step:

1. Create a Java Project of any name

2. Create a MyEclipseGen Java file ( MyEclipseGen . java) with a name in the project

3, run the following code, will appear in the console "  please input register name: ",输入任意一个名字,回车后生成序列号

4、点击 MyEclipse菜单中Window→Preferences→MyEclipse→Subscription, on the right, click "Enter Subscription"

5. Enter the name of the 3rd step in the pop-up box subscriber, and enter the serial number generated in the 3rd step in subscription code.

Code:

ImportJava.io.BufferedReader;Importjava.io.IOException;ImportJava.io.InputStreamReader; Public classMyeclipsegen {Private Static FinalString 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" five years imprisonment for a first offense . Think about it; Pay for a license, avoid prosecution, and feel better about yourself. ";  Publicstring 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=NewJava.text.DecimalFormat ("000"); Licensenum=Nf.format (integer.valueof (licensenum)); String Vertime=NewStringBuilder ("-"). Append (NewJava.text.SimpleDateFormat ("YyMMdd"). Format (Cal.gettime ())). Append ("0"). toString (); String type= "ye3mp-"; String need=NewStringBuilder (userid.substring (0, 1) . Append (Type). Append ("300"). Append (Licensenum). Append (Vertime). toString (); String DX=NewStringBuilder (Need). Append (LL). Append (UserId). toString (); intSuf = This. Decode (DX); String Code=NewStringBuilder (Need). Append (string.valueof (SUF)). ToString (); return  This. Change (code); }    Private intDecode (String s) {inti; Char[] AC; intJ; intK; I= 0; AC=S.tochararray (); J= 0; K=ac.length;  while(J <k) {i= (* i) +Ac[j]; J++; }        returnMath.Abs (i); }    Privatestring Change (string s) {byte[] abyte0; Char[] AC; inti; intK; intJ; Abyte0=s.getbytes (); AC=New Char[S.length ()]; I= 0; K=abyte0.length;  while(I <k) {J=Abyte0[i]; if((J >=) && (J <= 57) ) {J= (((j-48) + 5)% 10) + 48; } Else if((J >=) && (J <= 90) ) {J= (((j-65) + 13)% 26) + 65; } Else if(J >= && (J <= 122)) ) {J= (((j-97) + 13)% 26) + 97; } Ac[i]= (Char) J; I++; }        returnstring.valueof (AC); }     PublicMyeclipsegen () {Super(); }     Public Static voidMain (string[] args) {Try{System.out.println ("Please input register name:"); BufferedReader Reader=NewBufferedReader (NewInputStreamReader (system.in)); String userId=NULL; UserId=Reader.readline (); Myeclipsegen Myeclipsegen=NewMyeclipsegen (); String Res= Myeclipsegen.getserial (UserId, "5"); System.out.println ("Serial:" +res);        Reader.readline (); } Catch(IOException ex) {} }}
View Code

MyEclipse 8.5 Hack method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.