Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 在mac上设置DERBY_HOME环境变量?_Eclipse_Macos_Eclipse Plugin_Environment Variables_Derby - Fatal编程技术网

Eclipse 在mac上设置DERBY_HOME环境变量?

Eclipse 在mac上设置DERBY_HOME环境变量?,eclipse,macos,eclipse-plugin,environment-variables,derby,Eclipse,Macos,Eclipse Plugin,Environment Variables,Derby,我正在使用Eclipse,希望也使用Derby数据库,但在正确设置它时遇到了问题 我将插件文件复制到Eclipse插件文件夹中,认为Derby会显示在弹出菜单上,上面有“new”、“properties”等,但没有显示在那里 有人告诉我启动Derby服务器,所以我将bin文件夹复制到我的计算机上,并运行startNetworkServer unix可执行文件。它给了我这个错误: Error: DERBY_HOME is not set. Please set the DERBY_HOME env

我正在使用Eclipse,希望也使用Derby数据库,但在正确设置它时遇到了问题

我将插件文件复制到Eclipse插件文件夹中,认为Derby会显示在弹出菜单上,上面有“new”、“properties”等,但没有显示在那里

有人告诉我启动Derby服务器,所以我将bin文件夹复制到我的计算机上,并运行startNetworkServer unix可执行文件。它给了我这个错误:

Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable
to the location of your Derby installation.
因此,您能告诉我如何执行错误状态下需要执行的步骤吗?

启动“终端”应用程序并导航到您的主目录

然后将其添加到
.bashrc
文件:

DERBY_HOME=/directory/to/your/installation
export DERBY_HOME
如果它不存在,只需使用
touch.bashrc