drools安装与配置

1.官网下载(http://www.drools.org/download/download.html)dools engine用于后面环境配置

2.安装好eclipse,然后安装drools插件:

help>>Install New Software>>

其中,drools插件的地址是:https://download.jboss.org/drools/release/7.5.0.Final/org.drools.updatesite/ 

3.配置drools运行环境,将之前下载的解压,打开eclipse->windows->Preferences->>>Add>>

path地址写到你下载并解压的drools-distribution-7.5.0.Final\binaries处,下面的version自动补全的,如果没有自动填上,可能是你下载的zip文件在解压的时候有问题,重新解压或者重新再下载解压就好了。

4.测试

你可以建立一个drools的项目,带有例子的,maven模式的项目,运行一下hello world 的例子,运行成功,就说明drools安装成功了。

File>>New>>Project>>Drools>>Drools Project>>


选择maven模式

然后运行DroolsTest

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Welcome to Drools ================= Third party jars ---------------- Following third party jars are optional and are not included in Drools distribution: 1.Quartz: Quartz is an optional jar only needed if you wish to adapt existing quartz calendars. It can be downloaded from http://www.quartz-scheduler.org/. Run the examples ---------------- It's easy to run the examples: On Linux, Mac or Cygwin: examples/runExamples.sh On Windows: examples\runExamples.bat Run the examples in Eclipse --------------------------- Open Eclipse, install the Drools plugin, as described in the introduction reference manual. Open menu Window, menu item Preferences, tree item Drools, tree item Installed Drools Runtime environments Add the dir "binaries/" from the zip as a new Drools Runtime Environment. Activate the checkbox of that newly created runtime environment. Restart eclipse. Open menu File, menu item Import..., tree item General, tree item Existing Projects into Workspace, button Next and select root directory "examples/sources/" from the zip, button Finish. Alternatively, if you have the m2eclipse plugin installed: Open menu File, menu item Import, tree item Maven, tree item Existing Maven Projects, button Next and select "examples/sources/" from the zip, button Finish. Open menu Run, menu item Run configurations, add new Java Application with main class "org.drools.examples.DroolsExamplesApp" and VM arguments "-Xms256m -Xmx512m -server", click button Run. Run the examples in IntelliJ ---------------------------- Open menu File, menu item Open project, select "examples/sources/pom.xml". Open menu Run, menu item Edit Configurations, add a new Application with main class "org.drools.examples.DroolsExamplesApp" and VM parameters "-Xms256m -Xmx512m -server" and run that. Read the reference manual ------------------------- To see the reference_manual, just open: reference_manual/html_single/index.html It contains information how to use it on your project (wi

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值