What Are The Common Development Tools In Java?
This section introduces several development tools commonly used in Java. The following tools may have different functions and roles, but have a common theme, that is - they are all designed to provide excellent support for Java coding and development.
Introduction to common source code editing tools
Java source code is essentially a normal text file, so theoretically any editor that can edit text files can be used as our Java code editing tool. For example: Windows Notepad, text editor under Mac OS X, vi, emacs, gedit, edit under DOS, etc. under Linux. However, these simple tools do not have functions such as syntax highlighting and auto-completion. The lack of these functions will greatly reduce the efficiency of code writing.
Therefore, we generally do not choose these simple text editing tools when learning development. We generally choose some powerful notepad-like tools, such as: Notepad++, Sublime Text, editplus, ultraedit, vim, etc. Below we will introduce their advantages and disadvantages in detail, so that you can find suitable development tools for you.
You can click the blue tool name in the text to directly enter the official website to download.
1) Notepad++
Notepad++ is a set of text editors under the Windows operating system, which supports the function of writing in multiple languages (UTF8 technology).
Advantages of Notepad++:
-
The function is more powerful than the (notepad) in Windows. In addition to being used to make general plain text description files, it is also very suitable for writing computer program codes.
-
It not only has syntax highlighting, but also syntax folding function, and supports macros and plug-in modules that expand basic functions.
-
It is free software, can be used free of charge, and supports all major computer programming languages.
Notepad++ Disadvantages:
-
Compared with a dedicated IDE, it lacks syntax checking, color selection, code outline, comment parsing, TODO, debugging tool integration, deployment tool integration and many other functions.
-
Opening large files is slow
2) EditPlus
EditPlus is a small but powerful Windows editor produced by South Korea's Sangil Kim (ES-Computing) that can process text, HTML and programming languages, and can even use it as C, Java, Php and other languages by setting user tools A simple IDE for .
EditPlus advantages:
-
The EditPlus interface is simple and beautiful, and the startup speed is fast.
-
Support multiple date and time input; support syntax highlighting; support code folding; support code auto-completion.
-
The configuration function is powerful and relatively easy, and the expansion is relatively strong.
-
Suitable for editing web pages.
EditPlus Disadvantages:
-
Code hints are not supported.
-
Not free, charged in US dollars, high registration fee
-
Function is simpler.
-
Version updates are slow.
3) Sublime Text
Sublime Text was developed by programmer Jon Skinner in January 2008, and it was originally designed to be a rich extension of Vim.
It is a paid software, but can be tried indefinitely, it is a cross-platform editor, and supports Windows, Linux, Mac OS X and other operating systems.
Advantages of Sublime Text:
-
Mainstream front-end development editor
-
Small in size and fast in operation
-
Text is powerful
-
Compilation is supported and output can be seen in the console
Introduction to Integrated Development Tools
In order for Java beginners to better master the writing of Java code, we generally choose an advanced notepad-like tool as a development tool, but in actual project development, more use an integrated IDE as a development tool, such as the current The two most popular tools: Eclipse, IDEA.
The so-called integrated IDE is to integrate the writing, debugging, compiling, and execution of the code into one tool, so there is no need to use the tool for each link separately.
1) Eclipse IDE
Eclipse is an open source project and a well-known cross-platform free integrated development environment (IDE). It was initially mainly used for Java language development. Later, by installing different plug-ins, Eclipse can support different computer languages, such as C++ and Python. tool.
Eclipse advantages:
-
Provides much-needed help with code completion, refactoring, and syntax checking.
-
Can provide a series of tools of JDT, including various plug-in tools to help develop various Java applications.
-
Allows developers to use different language support, such as it can also provide IDE for C/C++ and PHP. This makes it a one-stop resource for Java development.
-
Eclipse is free, which is very important, so most companies still use Eclipse as an IDE, and its good performance also accounts for a large proportion of the market.
Disadvantages of Eclipse:
-
Version incompatibilities, especially plugins, that work fine with one version will not work at all with another, even if the version numbers differ only slightly between the two versions.
-
Too tightly bundled with the JDK. When a new version of JDK comes out, Eclipse generally lags for a long time before a new version supports the new JDK, and then it takes a long time for each plug-in to be used under the new version of Eclipse.
2) MyEclipse
MyEclipse is owned by the same company as Eclipse, and has added a lot of functions. Compared with Eclipse, MyEclipse is more like integrating many plug-ins in Eclipse. Of course, there are better considerations for performance, but this IDE is Charges.
Because MyEclipse is a paid software, it is rarely used by large companies.
3) Intellij IDEA
Intellij IDEA, referred to as IDEA, has many features such as beauty and efficiency. IDEA is a product of JetBrains, a company headquartered in Prague, the capital of the Czech Republic, whose developers are mainly Eastern European programmers known for their rigorousness. Its flagship version also supports HTML, CSS, PHP, MySQL, Python and more. The free version only supports a few languages such as Java.
It is rumored to be "the smartest Java ide". It helps developers come up with the most creative solutions. Its "Smart Code Completion" and "On-the-fly Code Analysis" features increase developer productivity, and it also provides advanced support for web and mobile development.
IDEA Disadvantages:
-
Editing large files is unreliable, and it is easy to freeze or directly freeze.
-
Compared with some special tools, it is not professional enough: for example, the encoding effect of files in batch modification projects is very poor.
-
Consuming a lot of hardware resources, IntelliJ IDEA requires a large amount of memory, and it also needs the assistance of a solid-state hard drive to use it smoothly. For example, when working on microservice projects, it is generally necessary to start multiple projects at the same time, and the memory will come up after a while, and 8G memory is completely insufficient.
4) NetBeans
NetBeans is the industry's first open source IDE to support innovative Java development. Developers can leverage the industry's most powerful development tools to build desktop, web or mobile applications. At the same time, third parties can easily extend or integrate the NetBeans platform through the modular structure of NetBeans and open APIs.
NetBeans IDE currently supports development languages such as PHP, Ruby, JavaScript, Ajax, Groovy, Grails and C/C++.
NetBeans is an IDE produced by Oracle Corporation, and it also has many built-in functions, which are relatively few in the market of idea and Eclipse.
NetBeans provides a full-featured array. Such as converters, editors and code analyzers, these tools can help you implement applications using the latest Java technologies. The range of tools is quite extensive, and the team behind the IDE is constantly improving. Plus you can get help from static analysis tools - write bug-free code.
Before using these development tools, we had better be familiar with the advantages and disadvantages of these software, so as to choose the application according to the actual situation. Programming tools are just tools, developed to facilitate people's work, and each has its own characteristics. Therefore, the selection of tools is mainly based on what field you will be engaged in, rather than blindly thinking that which tool is good and which tool is not good. After reading this article, I hope everyone can find their own suitable Java development tools.