1, install the MySQL database (specific methods do not repeat); login MySQL statement: mysql-h localhost-u root-p 1905;2, download JDBC;3. After opening eclipse, select Project to import the JDBC jar package;4, write a program verification
The reason that eclipse is garbled is that the encoding rules selected by the Eclipse Editor are mutable. Generally the default is UTF-8 or GBK, when a project imported from the outside, if the project is encoded in the same way as set in Eclipse ,
Code hints:For example, you hit SYSO output System.out.println (); The shortcut key for the function is ALT +/, and of course it can be modified.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/54/38/wKioL1R8c5Oi3OsYAAQdMkS2it4040.jpg
Recently, the company started a new project, the developer 4 people, for the unified annotation style, deliberately study the next eclipse of the annotated methods and specificationsBecause it's just a configuration, it's not too much to explain.1.
1. Software EnvironmentA) Eclipseb) The Hadoop cluster in operation2. Install Hadoop plugin on eclipseA) first put the Eclipse Hadoop plugin into the eclipse/plugins directory and restart eclipseb) If the plug-in installation is successful, after
1.Eclipse EE Configuration TomcatEclipse EE is primarily used for Java Web Development and EE project development. Configuring Tomcat in Eclipse EE is simple, and you can create a new Tomcat server with the following steps:1.1. Open the Servers
Eclipse input Chinese comments, found that the word is too stingy, swollen? After some groping, found that can be solved.Method/Step
First, select Windows->preference
Make your selection here, and then click the Edit button
Change the
Ctrl+1 Quick Fix (the most classic shortcuts, you don't have to say more)Ctrl+d: Delete When moving forwardCtrl+alt+↓ Copy the current row to the next row (replication incremented)Ctrl+alt+↑ Copy the current line to the previous row (replication
Step 1: Choose the Eclipse plugin jar package for the Hadoop version (self-compiling), my Hadoop version is hadoop-0.20.2, and the corresponding plugin should be: Hadoop-0.20.2-eclipse-plugin.jar. Then put the jar package in the Eclipse\dropins
The first scenario, you can enter the project, Run configurations Setup interface, select Target, select Launch on all compatible DEVICES/AVDS, select Active Device in the drop-down box. After apply, the APK to the real machine will be installed
How to modify: Text Editors, Editors, Preferences, General, Windows-----hyperlinkingChange the hyperlink shortcut to another key such as ALT (cannot change to shift)Description: In eclipse, you can often use CTRL + mouse click to direct the editing
1. Download Linux Jdk-6u45-linux-x64.bin2, first sudo su, modify the permissions of Jdk-6u45-linux-x64.bin, chmod u+x jdk-6u45-linux-x64.binRun sudo-s./jdk-6u45-linux-x64.bin installation, unzip the.3. Configure Environment variablessudo
1, direct online install help--Eclipse Marketplace2, download Subclipse.zip copy the features, plugins to the Eclipse installation directory3, unzip the Subclipse.zip directly to Dropins (all files)4, add *.link file contents in Dropins
Ctrl+shift+r: Open Resource
This is probably the most time-saving combination of all shortcut keys. This set of shortcuts lets you open any file in your workspace, and you only need to press the first few letters of the file name or mask name,
Today from SVN download the project, after compiling, found that there are two projects have a red exclamation, has not found any reason, asked Baidu teacher, found the solution to the problem.1. Click Problems on the console firstIf the console is
non-intrusive installation plug-in method (links installation method)Since there is an intrusive installation, said the meaning, there is a "non-invasive installation", but also some people become links installation method, the following see exactly
Some of the projects that were imported into eclipse were not detected by Eclipse as a Java project, and the upper-left corner of the project directory has no J-letters, which should be. Project is not configured, you need to configure a plug-in for
(1) Packaging jar method: Right-click the project name--export--jar file--Check the files that need to be packaged (by default)(2) Do batch processing: write Start.bat, content such as:Set Classpath=download.jar;commons-io-1.1.jar//The third-party
VMware Virtual machine configuration Ubuntu bridging mode (bridged) enables virtual machines and hosts to ping each other ,Debug with a pseudo-distributed Hadoop connection in a virtual machine via eclipse in win1, set the bridged Internet
Eclipse Ctrl + Shift + F formatting code shortcut key failure problem solved, eclipseshift
I personally like Eclipse's code formatting tool very much. Once the code is saved, you must format it. However, sometimes you may encounter problems, that
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.