Fast setup of Java and JEE environments

Source: Internet
Author: User

Spit The Groove.

Bloggers recently found a Java development internship, plus last month's exam week, so long not updated blog.
A week of classes, not yet familiar with the project stage.

Sentiment: Wow, reading someone's code is a very laborious thing AH!!!

There is the blogger in the company to get a new machine, so all the environment to be re-built, so write a piece of this thing to benefit a little white.

Ide

Bloggers generally use idea and eclipse, so take these two Ides as a blueprint.

Configuration of the Java environment

Be aware of JDK version issues and be consistent with the project team.

After the installation is complete, the environment variable is of course set.

(i) New system variables Java_home and Classpath

Variable name: Java_home

Variable Value: C:\Program files\java\jdk1.7.0 (the JDK address you installed)

Variable name: CLASSPATH

Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

(ii) Edit the system variable path

Variable name: Path
variable value:%java_home%\bin;%java_home%\jre\bin;

  After completion, you can verify the configuration environment and JDK versions via CMD, such as java-version to detect JDK versions.

< Span style= "font:16px/28px ' Microsoft Yahei ', Microsoft Jas Black, Arial, song body, Sans-serif; text-align:justify; Color: #333333; Text-transform:none; text-indent:0px; Letter-spacing:normal; word-spacing:0px; Float:none; Display:inline!important; White-space:normal; widows:1; Font-size-adjust:none; Font-stretch:normal; Background-color: #ffffff; -webkit-text-stroke-width:0px; " >        

Building the JAVA EE environment

(i) Download tomcat with the same attention to version issues

Official address

(ii) Eclipse & Idea

Versions of Eclipse downloads do not directly create Web projects and need to download the Java EE deveoper plugin.

Take eclipse Neo For example:

Help→install New Software

Address: neon-http://download.eclipse.org/releases/neon/201703231000

Select Web,xml,java EE and OSGI Enterprise development

And then the next step is over.

After installation, the Window->prefences

Select Server-->runtime enviroment To configure the Tomcat you just downloaded.

Idea needs Utimate version to create a Web project, there are a number of ways to crack, summed up a few useful to give you:

(a) select menu Help->register->license Server, fill in http://idea.iteblog.com/key.php, Click Activate, and then it's done. .

Two

Download cracked file Jetbrainscrack-2.6.2.jar

             :  
               http://download.csdn.net/detail/gnail_oug/9824630

              http://idea.lanyus.com/

One, put the downloaded Jetbrainscrack-2.6.2.jar hack patch under the directory below the bin where you installed idea ().  
Mine is F:\idea\IntelliJ idea 2017.1\bin 

Under the idea of installing the bin directory below there are 2 files: one is idea64.exe.vmoptions, and the other is idea.exe.vmoptions (such as a basket). &NBSP
Open with Notepad to add one line to the bottom line:

-javaagent:f:\idea\intellij idea 2017.1 \bin\jetbrainscrack-2.6.2.jar 

"F:\idea\IntelliJ idea 2017.1\bin\jetbrainscrack-2.6.2.jar" is the location of the corresponding Jetbrainscrack-2.6.2.jar.

Third, restart, fill in the registration code (due 2099)
Restart the software and enter a few letters when you enter the active Code selection screen.
The ability to enter the application interface means that the installation cracked successfully.

If you want to use the registration code method to refer to the IntelliJ Idea 2016 registration method and registration code, there is a validity limit, not this convenience.


Idea for Mac Hack method:

Mac version idea does not Idea64.exe.vmoptions,idea.exe.vmoptions these two files only idea.vmoptions file

Locate The IntelliJ idea 2017 installation location and add the following code:

-javaagent:/applications/intellij Idea.app/contents/bin/jetbrainscrack-2.6.2.jar

     

< Span style= "font:16px/28px ' Microsoft Yahei ', Microsoft Jas Black, Arial, song body, Sans-serif; text-align:justify; Color: #333333; Text-transform:none; text-indent:0px; Letter-spacing:normal; word-spacing:0px; Float:none; Display:inline!important; White-space:normal; widows:1; Font-size-adjust:none; Font-stretch:normal; Background-color: #ffffff; -webkit-text-stroke-width:0px; " >        

< Span style= "font:16px/28px ' Microsoft Yahei ', Microsoft Jas Black, Arial, song body, Sans-serif; text-align:justify; Color: #333333; Text-transform:none; text-indent:0px; Letter-spacing:normal; word-spacing:0px; Float:none; Display:inline!important; White-space:normal; widows:1; Font-size-adjust:none; Font-stretch:normal; Background-color: #ffffff; -webkit-text-stroke-width:0px; " >  

  

Fast setup of Java and JEE environments

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.