the recommended list and code generated after a local variable is created.
Figure 4. Quick Fix suggestions
Double-click the suggestion to insert the suggestion code to the proper position in the code.
Once the code compilation is completed without errors, you can select Run from the eclipse menu to execute the program (note that there is no separate compilation step here, because compilation is performed
the initialization file content is different.The file is changed as shown (where the changes are made in the red circle)Save later to reopen eclipse to perfectly solve the "Eclipse failed to create the Java Virtual Machine" issue.3. Question 1 Workaround referenceThanks to this blog blogger (http://blog.csdn.net/yuanfei_1988/article/details/5919168) but the blogger just changed the current value to 1/2 for
magic numbers and strings into one variable, especially when multiple calls are performed)
Alt + Shift + F convert the local variable in the class to the field variable (more practical)
Alt + Shift + I merge variables (this may be a bit inappropriate inline)
Alt + Shift + V moving functions and variables (not commonly used)
Alt + Shift + z restructured regret medicine (UNDO)
CTRL + Shift + u select the selected text, which is very similar to the UE list Query
compression library (libz), log Library (liblog ).
Ii. Download and install Android ndk
1.Preparation.
Build the android Development Environment (not to mention .)
Download plug-in: ndk R8 (to correspond to your own eclipse j2eeide version) Latest: http://developer.android.com/sdk/ndk/index.html
2. Download and install cygwin
Since make and GCC must be used to compile the ndk code, you must first build a Linux environment. cygwin is a UNIX simulation
last debug.VII. Reconstruction: Alt + Shift + RRefactoring is an important function in eclipse. Classes, methods, and so on can be reconstructed, and the associated references can be reconstructed synchronously.VIII. Organization import: Ctrl + Shift + OIn the Java editor, you can use this shortcut key to import missing classes and delete unnecessary imports.IX. Add Comment: Ctrl +/You can use this shortcut to easily comment on the current row or sel
Required tools: JDK + eclipse + CDT + mingw
A. The installation of eclipse and JDK is not described here. Install the CDT plug-in:Install the CDT plug-in1> download the CDT plug-in: You can select the appropriate version of your eclipse in the http://www.eclipse.org/cdt/, and then open the page to give the hyperlink, in the "Installing from a tar.gz or ZIP file"
plugin, as shown in:2. Find the CDT plugin address that corresponds to your eclipse version, then open Eclipse, click the Help menu, find the Install New software menu, and note that some older versions of the Eclipse menu are different, such as the Europa version, is Help--software Updates-find and Install--search for new features to Install--new Remote Site, i
Source:Http://doc.okbase.net/u011004037/archive/146968.htmlThis is better than a separate eclipse. A separate eclipse is equivalent to eclipse Installer's eclipse under the pool profile, and the next profile in the same pool can share artifact (that is, the jar package)Copyright NOTICE: This article for Bo Master origi
Day 4-part 4-step 4 of Piglet's Android getting started
Day 4-part 4-step 4 of Piglet's Android getting started
Android event processing mechanism-collection of event processing mechanisms
------------Reprinted, please specify the
Java programming ideology version 4 Chapter 4 Personal exercises and programming ideology version 4Chapter 4 Exercise 1: (1) write a program and print the values from 1 to 100
public static void main(String[] args) {test(100);}public static void test(int num){int i=0;while(i
Exercise 2: (2) write a program to generate a random number of 25 int types. For each r
system can be viewed through computer> properties, as shown below:
Run the java-d64 version command to view the 2.64-bit jdk: Figure 1 is not 64-bit, and figure 2 is 64-bit.
1.
2.
Jdk:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
3. eclipse can be viewed through the eclipse. ini file. Figure 1 (x86) is 32-bit, and figure 2 (x86_64) is 64-bit.
Eclipse shortcut keys and eclipse shortcut keysEclipse has powerful editing functions, master the Eclipse shortcut key function, and greatly improve development efficiency. Eclipse has the following shortcut keys related to editing. 1. [ALT +/] This shortcut is a good helper for users to edit and can help users with co
Previously introduced me in Ubuntu under the combination of virtual machine Centos6.4 build hadoop2.7.2 cluster, in order to do mapreduce development, to use eclipse, and need the corresponding Hadoop plug-in Hadoop-eclipse-plugin-2.7.2.jar, first of all, before the hadoop1.x in the official Hadoop installation package is self-contained Eclipse plug-in, Now with
A year ago, the plan was to develop a set of MDD tools to simplify R D, standardize and provideCodeQuality.
The mdd I understand consists of four parts:
First, modeling (data model and Object Model)
Second, a set of universal generators (freemarker)
Third, the company edition dedicated eclipse
4. High-quality code templates (long-term accumulation process)
Steps 1 and
to the [project name] you entered earlier. If there are no other special settings, continue clicking [Next].Figure 2-3 entering the necessary information for generating the project Figure 2-4 Template Selection Figure 2-5 Entering template information The plugin generated from the selected template can modify some information in the picture (Figure 2-5). If there is no special need to set the place click [Finish], generate the project. PDE Perspe
that SWT is much faster than swing. The above article also points out that SWT was still at the level of AWT 7 years ago. Jdk5 GUI completely rewrite, the default has been very beautiful, a lot faster (according to Sun's version of an increase in the order of magnitude, although it is a bit exaggerated, but on my machine, NB started at least one times faster than the use of jdk1.4.2). Java GUI has been completely changed in Java 5, JDK 5 built-in win,linux (GTK2,MOTIF), Mac System interface, Ja
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.