如何手动指定derby.system.home属性以启动derby服务器 [英] How to manually specify the derby.system.home property to start a derby server

查看:65
本文介绍了如何手动指定derby.system.home属性以启动derby服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想对Windows和Unix都知道在 localhost:1527 上启动Derby服务器的命令,但是具有特定的 derby.system.home 属性

在),您只需添加以下内容即可控制derby.system.home值:

  -Dderby.system.home =/my/derby/home/dir 

在用于启动Derby Network Server的命令行上.

如果您只是刚开始使用Derby Network Server,我是否建议您阅读位于以下位置的Derby入门"文档:here I could only understand to set the locations, the paths Java and Derby installation.

And the only thing about derby.system.home I found was this.

Basically, I need a command to start the server the same way Netbeans does.

解决方案

Assuming that you are starting the Derby Network Server using a technique similar to the ones documented in the Derby manuals (http://db.apache.org/derby/docs/10.11/getstart/twwdactivity2.html), you can control the derby.system.home value simply by adding:

-Dderby.system.home=/my/derby/home/dir

on the command line that you use to start the Derby Network Server.

If you're just getting started with the Derby Network Server, may I recommend working through the Derby "Getting Started" documentation at: http://db.apache.org/derby/docs/10.11/getstart/

这篇关于如何手动指定derby.system.home属性以启动derby服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆