我尝试了一些蓝牙聊天程序,涉及
import javax.bluetooth.*
我的 Eclipse 显示错误 import javax.... 无法解决
我使用的是Linux。Java蓝牙特定程序是否可以移植到其他操作系统。
最佳答案
Will the Java bluetooth specific program is portable to other OS.
是
- 确保您已经将 jar 导入到 eclipse 构建路径中,右键单击项目文件夹 --> 属性 -->
或尝试
右键单击项目 ->BuildPath ->配置 BuildPath ->Libraries 选项卡 ->
双击 JRE SYSTEM LIBRARY ->然后选择备用 JRE
关于java - 蓝牙客户端-服务器通信[java],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27664258/