MyEclipse is a very useful Java Program development tool, mainly used in Java, Java EE and mobile application development. MyEclipse is very powerful and supports a wide range of support, especially for various open source products.
MyEclipseEnterprise-class work platform is theEclipseidewe can use it in the database andjava EEdevelopment, release, and integration of application servers greatly improve productivity. It is a feature-richjava EEintegrated development environment, including complete coding, debugging, testing and publishing capabilities, full supportHTML,Struts,JSP,CSS,Javascript,Spring,SQL,Hibernate.
Below I will use MyEclipse to write a simplest Java program and run it.
First step: Open MyEclipse Software
Change workspace: Click File→Switch WorkSpace→other→ Browser→ Select a folder under D , and when you click OK, the environment will automatically close.
The first phenomenon: to quote a red fork,
The second phenomenon: ask if we want to go to Software Center (software), tick the checkbox, and click Cancel.
Create a Java Project: Click File→New→java Project
Right-click on the src folder,New→Class
Write the code .
05. After writing, run the program through run (the green triangle icon) and the result will appear on the console console.
A program written with MyEclipse is done!
————————————————————————————————————————————
PS: Add a few myeclipse general settings
No1. Setting the Edit area and console fonts
Open window→preference→general→appearance→colors and Fonts→basic→text Fonts double-click to open Edit
No2. How to display line numbers
Official resolution: Right-click on the left-hand side of the code editing area, and in the pop-up menu, tick how line Numbers
No3. Delete Item
Analysis ; directly Select the item you want to delete, right-click and find Delete , but notice here, do not tick, otherwise the real file on the hard drive will be removed. Then OK
No4. How do I import a project??
Parse:File→Import→general, find the longest item, then Browser
No5. How to rename a project
Resolution: Select the name of the item you want to modify, press F2on your keyboard, and then make sure you have modified it.
No6. Java Project Organizational Structure
The package Explorer
Classes to manage multiple different functions
The Navigator (Navigator)
Role: Similar to Windows Explorer, the ability to see java files, and to see the compiled class File (this feature can then be selected to open and close in Window-showview).
Writing Java programs using MyEclipse