Having issues with referenced libraries in Eclipse (cross platform compatibility)

人盡茶涼 提交于 2019-12-12 02:09:43

问题


I'm working on a side project at work creating a GUI in Eclipse (using Windowbuilder). Anyways, when I create a new Java/SWT project, it automatically adds the referenced libraries into the project (located in the plugins folder).

My issue is that I'm using git so I can work on my Macbook at home and my Windows computer at work, and that when I pulled the files to my Mac the libraries were pointing to the absolute path on my PC.

Any ideas how I can fix this?


回答1:


To fix this in eclipse, you can right click on the "Referenced Libraries" folder -> Build Path -> Configure Build Path. In the opened Properties setting box, you can fix the build path to point to correct location of libraries on your Macbook.



来源:https://stackoverflow.com/questions/21801880/having-issues-with-referenced-libraries-in-eclipse-cross-platform-compatibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!