Myeclipse7.1 Java registration code

Source: Internet
Author: User

Today, I will introduce you to the registration code registration, which is dynamic and convenient. Why is it convenient? Because the registration code may be blocked, unless your computer does not connect to the Internet.

If it is blocked, we can only register again. Now we will teach you how to implement registration through Java code. Download:Myeclipse7.1English official version

1. Create a project and name it as needed.
2. Create a class named Reg.
3. Execute the code
4. Enter the registration name. Please input register name: appears in the column. Enter the English name and press Enter. The registration code is displayed. Name and registration code:
YLR8ZC-855550-67597656751799913 this form of replication down, note that I am running this generated. You need to copy the code on your machine.
5. Go to myeclipse and enter subscriber and subscriber code.

Address: http://www.accptech.com/Sharing/s2/749.html

Register Java code:

Import java. Io. bufferedreader;
Import java. Io. ioexception;
Import java. Io. inputstreamreader;

Public class Reg {
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 Reg (){
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 ();
Reg myeclipsegen = new Reg ();
String res = myeclipsegen. getserial (userid, "5 ");
System. Out. println ("Serial:" + Res );
Reader. Readline ();
} Catch (ioexception ex ){
}
}
}

 

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.