We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
很少有开发工具会限制您使用使用它们创建的软件的方式。 唯一的例外是库,这对于标准 Java 库来说不是问题。 工具、IDE 等——无论它们是否免费——都不会影响您分发代码的方式。
有一些奇怪的例外,例如 BitKeeper 源代码控制软件,其许可证禁止任何使用它的人尝试创建可以与 BitKeeper 竞争的软件 - 这就是为什么我建议远离该东西及其背后的公司,尽可能。 最后,如果你想在法律上完全清楚,你必须聘请律师并让他检查你将在开发过程中使用的所有软件的许可证和最终用户许可协议,因为类似的事情。
一些具体的数据点:Java本身还可以(编译器和库); Ant 和 Maven 都可以; Eclipse 和 NetBeans 都可以。
It's very rare to see any development tools that restrict the way you can use software created using them. The only exception to that are libraries, and that is not a problem with standard Java libraries. Tools, IDE and so on - regardless of whether they're free or not - will not affect how you can distribute your code.
There are some weird exceptions, like BitKeeper source control software, the license of which prohibits anyone using it from trying to create software that could compete with BitKeeper - which is why I advise to stay as far away from the thing, and the company behind it, as possible. In the end, if you want to be absolutely legally clear, you'll have to hire a lawyer and have him go through licenses and EULAs for all software you're going to use in your development process, because of stuff like this.
Some specific data points: Java itself is okay (both compiler and libraries); both Ant and Maven are okay; and Eclipse and NetBeans are okay.
对于开发,您可能需要 IDE。 首选是:
对于免费安装程序,我在 IzPack 上获得了最好的体验,但也有其他可用。 同样,要转换为 .exe 以便于启动,我推荐 Launch4J。
我认为假设用户安装了 Java 并不安全。 很多都会,但版本差异相当大,少数不会的版本往往会引起问题。 显然,这可能会根据您的目标受众(以及您对他们的控制程度)而有所不同。
For development, you will likely need an IDE. The top picks are:
For a free installation program, I've had the best experiences with IzPack, but there are others available. Similarly, to convert to a .exe for easy launching, I recommend Launch4J.
I don't think that its safe to assume that users have Java installed. Many will, but the versions will vary fairly widely, and the few that don't will tend to cause problems. Obviously, this may vary depending upon your intended audience (and how much control you have over them).
对于跨平台分发,您可能需要查看 launch4j: http://launch4j.sourceforge.net/
另外你可能还想混淆和优化你的代码,为此你可以使用 ProGuard: http://proguard.sourceforge.net /
对于您的开发,请使用任何可用的开源工具,例如 eclipse 或 netbeans,甚至带有 jdee 的 emacs。
您不应该假设用户拥有 Java,将 Java 版本与您的应用程序打包在一起。
对于安装,您可能需要搜索一些开源解决方案,我知道的唯一一个是 install4j,它是商业的。 http://www.ej-technologies.com/products/install4j/features。 html
For cross platform distribution you might want to look into launch4j: http://launch4j.sourceforge.net/
Also you might also want to obfuscate and optimize your code, for that you can use ProGuard: http://proguard.sourceforge.net/
For your development use any of the open source tools available such as eclipse or netbeans, or even emacs with jdee.
You should not assume users have Java, package a version of java with your application.
For installation you might want to search for some open source solutions, the only one I know of is install4j and it is commercial. http://www.ej-technologies.com/products/install4j/features.html
这是一个很难回答的问题,因为用户的需求和偏好各不相同。
但我会告诉你一个切入点。 使用 ECLIPSE 作为 IDE 来开发 Java 代码。 它是开源的,因此您不需要任何许可证。 当您从事项目时,您将需要各种其他工具来完成各种任务。 幸运的是,大多数基本功能都是作为 eclipse 的插件实现的。 您可以将它们单独添加到 eclipse 中。
随着时间的推移,您将获得经验,并且您将拥有足够的知识来切换到必要的工具等
This is a question that is really hard to answer because the requirement and the preferences of the users are different from each other.
But I will tell you one entry point. Use ECLIPSE as your IDE to develop your Java code. It is an opensource one so you don't need any licence for that. When you are working on your project you will need variety of other tools to do various stuff. Fortunately most of the essential functions are implemented as plugins for eclipse. You can seperately add them to eclipse.
With time, you'll get the experience and you will have enough knowledge to swich to the necessary tools etc