问题描述
必须有一个简单的解决方案,但是我在Windows机器和Snow Leopard机器上的Java应用程序上工作时遇到了麻烦。我正在Eclipse中进行所有开发,并通过SVN签入/签出转移代码。我遇到的问题是应用程序引用了一堆Snow Leopard JDK jar,并通过类路径中的绝对位置引用了它们。有人在这种环境下工作有经验吗?
只需配置
或者简单地使用存储库。
There has got to be a simple solution to this, but I'm having trouble working on a Java application on a Windows machine and a Snow Leopard machine. I'm doing all of my development in Eclipse and transferring the code via SVN checkins/checkouts. The problem I'm having is the application references a bunch of Snow Leopard JDK jars and refers to them via an absolute location in the classpath. Does anybody have experience working in this type of environment and how do you get around it?
Just configure a classpath variable pointing to some DIR and give lib build path relative to that dir.
Or simply use Maven repository.
这篇关于在Windows和Snow Leopard机器之间的Java应用程序上工作时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!