我应该在客户端计算机上使用 JVM 还是 JRE 来运行嵌入式 Java DB?
我已经在 Netbeans 中编译并构建了我的应用程序,其中包括 Java DB。现在为了在客户端环境中一切正常,我应该让他们安装 JRE 还是 JVM??! JVM 是否包含嵌入式 Java DB 支持?!
I have compiled and build my application in Netbeans which includes Java DB. Now in order for everything work in client environment, should I have them install JRE or JVM??! Does JVM include the embedded Java DB support?!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需 JRE 就足够了。
要运行您构建的任何内容,客户端只需要安装 JRE。您只需要 JDK 来编译您的工作并使用 jconsole 执行诊断。
java db基本上是一个java程序。它就像您编写的程序一样。因此,JRE 不需要任何特殊的东西即可以嵌入式模式或网络客户端-服务器模式启动它。
Just the JRE should suffice.
For running anything that you have built the client only needs to install the JRE. You only need to the JDK to compile your work and preforming diagnostics using jconsole.
And the java db is basically a java program. Its just like a program that you would have written. So the JRE does not need anything special to start it in the embedded mode or in the network client-server mode.
AFAIK JRE 不附带 Java DB。
http://www.oracle.com/technetwork/java/javase /terms/products/index.html
通过应用程序分发您需要的所有内容不是更好吗?
AFAIK the JRE does not come with Java DB.
http://www.oracle.com/technetwork/java/javase/terms/products/index.html
Wouldn't it be better to just distribute everything you need with your application?