简体   繁体   English

我应该在客户端计算机上使用JVM还是JRE运行嵌入式Java DB?

[英]Should I be using JVM or JRE on client's machine to run Embedded Java DB?

I have compiled and build my application in Netbeans which includes Java DB. 我已经在包含Java DB的Netbeans中编译并构建了我的应用程序。 Now in order for everything work in client environment, should I have them install JRE or JVM??! 现在,为了使一切在客户端环境中都能正常工作,我应该让他们安装JRE或JVM吗? Does JVM include the embedded Java DB support?! JVM是否包括嵌入式Java DB支持?

Just the JRE should suffice. 仅JRE就足够了。

For running anything that you have built the client only needs to install the JRE. 为了运行您已构建的任何内容,客户端只需安装JRE。 You only need to the JDK to compile your work and preforming diagnostics using jconsole. 您只需JDK即可使用jconsole编译工作并执行诊断。

And the java db is basically a java program. Java db基本上是一个Java程序。 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. 因此,JRE不需要任何特殊操作即可以嵌入式模式或网络客户端-服务器模式启动它。

AFAIK the JRE does not come with Java DB. AFAIK JRE不随Java DB一起提供。

http://www.oracle.com/technetwork/java/javase/terms/products/index.html 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? 随应用程序一起分发所需的所有内容会更好吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM