1. Package jar;
A. Right-click Project-> export; select Java-> JAR file; and click Next;
B. Select the src directory, or select a single package, and enter the path to store the jar package in the jar file;
C. Click Finish;
2. Generate the
I personally prefer ide. I would like to worship vim and GDB experts first.
I checked the method for installing eclipse on the Internet and installed it myself. The process is as follows:
First, install JDK. Currently, JDK 1.6.0 _ 25 is used.1.
JavaCodeSome interfaces are often implemented, which is unique to Java code. To implement an interface, you need to implement the methods defined in this interface. If you decode the methods one by one, you need to remember the method name and so on.
WriteCodeMany people have a principle. The code automatically generated by the IDE is generally readable and typographical. The most important thing is that there will be no low-level errors. Today we will introduce several common operations that
The reason why eclipse encounters garbled characters is that the encoding rules selected by the eclipse editor are variable. Generally, the default is UTF-8 or GBK, when an external import project, if the project encoding method and eclipse set the
After installing the maven plug-in using eclipse, create a Maven project and find that the remote library cannot be searched automatically when the dependency "add dependency" is added.
If you cannot search for a remote database, use this plug-in..
(1) Ctrl + SpaceDescription: Content assistant. Provides prompts for methods, variables, parameters, and javadoc,Should be carried in a variety of occasions, in short, you need to prompt the first press this shortcut key.Note: do not conflict with
Dropins
Provisioning operations shoshould generally occur using the P2 UI, or by invoking P2 tools or APIs. however, there are situations where scripts need to install plugins and features via file system operations, and have the new content
1. Download The clipse-jee-juno-SR2-linux-gtk.tar.gz installation to your computer.
2. Download The eclipsehadoop plug-in. I use hadoop1.0.4. Here is a better version.
:Hadoop-eclipse-plugin-1.0.4.jar
Put the downloaded JAR file in the
First, download the Tomcat plug-in version of the corresponding eclipse version. (Note: The Tomcat plug-in is the Tomcat plug-in and Tomcat is the Tomcat plug-in. The two cannot be confused !)
:
Taking javadoc as an example, the following figure shows:
The javadoc window shown in Figure 1 is independent of the main window
The javadoc window shown in Figure 2 is embedded in the main window.
Figure 1 javadoc is independent of the main
Disable eclipse Web Browser
Eclipse for javaee is used to develop Android projects. Every time you open the SDK documentation in eclipse, the built-in Web browser is automatically used!
Open the following page:
Modify it as follows:
1. Go to http://www.eclipse.org/downloads/and download the selinuxfeature of eclipse. see
Note:
①.Select Operating SystemThe website will read the operating system you are currently using. By default, matching is provided. If you are using Windows,
1. In the Eclipse project, right-click the project and choose Android> Generate a signature application package from the shortcut menu:
2. Select the android project to be packaged:
3. If the private key file already exists, select the
Many people do not know how to enable the automatic prompt function of the Code assistant in eclipse. The prompt is displayed only after "." is entered by default in eclipse.
Open eclipse-> window-> perferences. The setting page of perferences is
People who have worked on Android development should have encountered eclipse installation strange times. Anyway, I tried to throw bricks to smash the computer several times. The following are some common problems I encountered:
1: ADB server didn't
Troubleshooting of JavaScript errors in eclipse
Three places:
"Eclipse Settings ":Window-> preference-> validator-> errors/warnings-> remove the hook before enable Javascript sematic validation;
in the ". Project" file: (under the root path
Print statements are often used during debugging. When the strings to be added are mixed with the values to be printed, you must first write a string, for example, "the string here is ", then enter the value of the variable. In this way, it is still
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