Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does eclipse view the jar package to which class belongs

2025-02-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how eclipse checks the jar package to which class belongs. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Often in the development process, because more class libraries (jar files) are used, it is often impossible to find which jar file the required class files are stored in, so classlocator is a plug-in.

It brings us great convenience and can help me quickly find out which jar file the class library we need is in.

Classlocator is very easy to use and can be used simply by talking about it.

1. download

The official download address of classlocator (latest version 1.0.8) http://sourceforge.net/projects/classlocator/ can also be downloaded locally

two。 Installation

The classlocator plug-in is also easy to install and can be unzipped directly to eclipse's plugins directory.

After the installation is complete, open eclipse and you will find that there is an extra icon in the tool bar. Indicates that the installation is complete.

3. Usage

The first step is to tell the classlocator plug-in where our class library file is. Classlocator supports the assignment of individual files and directories. Multiple orders can be made.

Open the menu windows- > Preferences to find Class/Jar Locator and fill in our catalog or specific class library on the right. As shown in the following figure

After the configuration is complete, we are on the toolbar, click on the small icon, enter the name of the class you want to find, and then select the class library file and click "finish" to reference it to the project.

Note: * is not supported at present. Wildcards.

This is the end of this article on "how to check the jar package to which eclipse belongs to class". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report