简体   繁体   中英

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. 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?!

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 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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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