简体   繁体   English

如何在Java和Eclipse中使用包?

[英]How can I use packages in Java and Eclipse?

I imported the packages tcpcommclient and tcpcommserver from this repo here to my eclipse. 我导入的包tcpcommclient和tcpcommserver从这个回购这里给我的日食。 I created a new project called Ygen. 我创建了一个名为Ygen的新项目。 Then I wanted to use the packages: their objects, methods, etc but it does not realize the packages in my Eclipse environment like below, why? 然后我想使用这些包:它们的对象,方法等,但它没有实现我的Eclipse环境中的包,如下所示,为什么?

在此输入图像描述

它们是否已添加到Build Path

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM