This kernel requires an x86-64 CPU, but only detected an i686 CPU.
为了运行一款软件,我也是拼了。彻底的玩了一次,因为A需要B,我去下载B,结果B又需要C,我去下载C,结果……怎一个艰难了得。最关键的是,目前还没有达到目的!!!
先记录下过程,有时间再来一遍,也许我已经走到了99%呢,就差一点就成功了呢?放弃太可惜!
1) 为了实现一个名叫“规则引擎”的功能,我根据推荐,找到了 drools 这款开源软件
2) drools 的官网为 http://drools.org/
a) 查看官方文档 以及 广大网友的博客资料,了解 drools 的基本使用方法
b) 下载 drools 的 jar包 和实例,以及 广大网友 分享的 使用drools 的项目实例
c) 写自己的例子
d) 结论:drools 确实可以实现一定的规则,但是 规则文件的书写 非开发人员 很难操作。
e) drools 提供了 Drools Workbench
注:day1:下载失败+1,+1,网速原因。
day2:后来终于下载了Tomcat 7+ WAR,按照其中的readme 安装项目,为了下载了tomcat7 ,修改了相关配置,结果 运行失败。
day3:突然看到了一篇很好的博客 http://blog.csdn.net/u012373815/article/details/53526287 ,本质上与 项目中的文档说明没有差别。唯一的区别就是 将原本使用的 h2 数据库 改成了 Mysql 数据库。
启动多次报错:其中一个原因:这里都提到了修改环境变量。
可以将 环境变量直接 添加在 startup.bat 中 (windows 环境)
set CATALINA_HOME=D:\tomcat-drools-wb
set CATALINA_OPTS=-Xms512M -Xmx1024M -XX:MaxPermSize=512m -Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%/conf/btm-config.properties -Djbpm.tsr.jndi.lookup=java:comp/env/TransactionSynchronizationRegistry -Djava.security.auth.login.config=%CATALINA_HOME%/webapps/kie-drools-wb/WEB-INF/classes/login.config -Dorg.jboss.logging.provider=jdk
至于readme 中提到的 需要复制 到 tomcat/lib 中的架包,可以用 maven 来下载
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm</artifactId>
<version>2.1.</version>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm-tomcat55-lifecycle</artifactId>
<version>2.1.</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.</version>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-tomcat-integration</artifactId>
<version>6.5..Final</version>
</dependency>
<dependency>
<groupId>javax.security</groupId>
<artifactId>jacc</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
注:我的项目启动了!真心不容易。虽然不知道是否能达到我的要求,但此时就该庆贺一下,过程艰难。
其 提供了 docker 下载方案:docker pull jboss/drools-workbench
Docker images
You can find the Docker images and how to use them for last final version at
For more info about the Drools Docker images see this blog post.
f) drools 提供了 Eclipse 插件
注:下载失败+1,网速原因。后下载了迅雷使用迅雷下载
3)遂决定安装 docker 试试
1) 下载
docker 官网 https://www.docker.com/docker-windows
注:下载第一次,成功。安装,提示:安装环境只支持 win10 以上版本。若是windows 其他版本,请选择 docker toolbox。
然后我在官网下载失败了一次又一次!最后终于下载下来了!
当然后来我知道,其中我没必要和官网Docker Toolbox 拼命的,其他下载地址:https://get.daocloud.io/toolbox/ ,选择对应的版本下载即可。
安装包 https://github.com/boot2docker/windows-installer/releases(这个地址国内下载很慢)
用这个: https://get.daocloud.io/toolbox/
2) 安装
参考博客:http://blog.csdn.net/zistxym/article/details/42918339
说好的下一步下一步,然后就成功了,多出了三个软件(Oracle VM VirtualBox 、Git 、Boot2Docker for Windows ) 的呢!
事实结果是,多出来的东西实际上并不可以使用。
4) virtualbox
http://download.virtualbox.org/virtualbox/5.1.18/
- 安装Virtualbox 地址https://www.virtualbox.org
- 下载boot2docker.iso,下载地址:https://github.com/boot2docker/boot2docker/releases.或者从七牛下载速度快http://mysoftware.qiniudn.com/boot2docker.iso
5)Boot2Docker
Boot2Docker官方下载地址:https://github.com/boot2docker/windows-installer/releases
Boot2Docker官方安装手顺:http://docs.docker.com/installation/windows/
this kernel requires an x86-64 CPU, but only detected an i686 CPU. unable to boot - please ues a kernel appropriate for your CPU.

在虚拟机中安装Linux系统,主机为win7 64位系统
启动后提示如上图。
解决方法:(源自网络)
关闭计算机(非重启)-- 进入BIOS -- 设置BIOS的虚拟化(不打开,默认是工作在32位模式的,virtualization technology~ enable)--保存退出。
暂未测试完成,下次再说。
This kernel requires an x86-64 CPU, but only detected an i686 CPU.的更多相关文章
- this kernel requires an x86-64 CPU, but only detected an i686 CPU. unable to boot - please ues a ker
http://blog.csdn.net/xiao_cs/article/details/7728529 this kernel requires an x86-64 CPU, but only de ...
- “this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot” 问题解决
1. 问题描述: 在Virtual Box上安装 Ubuntu 系统时出现错误(如题),VIrtual Box 上也没有64位操作系统的选项 2.原因分析: (1) 可能 BIOS 的 Virtua ...
- vbox下安装 linux 64 bit出现“kernel requires an x86_64 cpu
今天在vbox下安装linux 64bit出现"kernel requires an x86_64 cpu, but only detected "的错误,网上有很多文章介 ...
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot
问题描述: 1.机器:Linux主机,特别是主机为大内存,比如: 4G内存的使用pae内核的Ubuntu系统的dell电脑. 2.情况:使用VirtualBox安装Linux系统时,比如:通过Virt ...
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU"
异常处理汇总-开发工具 http://www.cnblogs.com/dunitian/p/4522988.html 修复VirtualBox "This kernel requires ...
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU"(安装深度Linux的时候就需要)
异常处理汇总-开发工具 http://www.cnblogs.com/dunitian/p/4522988.html 修复VirtualBox "This kernel requires ...
- < IOS > X-code 5.1 x86 - 64 编译问题
关于xcode 5.1 x86 - 64 编译问题 坐等了N久,终于IOS 7.1 发布了,作为一个果粉,忍不住第一时间升级了.结果用设备测试的时候,出问题了,一直检测不到设备,哈哈,纠结了半 ...
- 手机CPU知识扫盲:谈谈手机CPU架构与原理 (全
CPU是手机上面最复杂,最贵的Soc(芯片),担任的也是手机中大脑的位 置,是手机跑分性能的决定性硬件.智能手机发展到今天,各大手机CPU厂商也从春秋战国逐渐到了现在四国鼎立的时代(高通,MTK,三星 ...
- 手机CPU知识扫盲:谈谈手机CPU架构与原理
CPU是手机上面最复杂,最贵的Soc(芯片),担任的也是手机中大脑的位置,是手机跑分性能的决定性硬件.智能手机发展到今天,各大手机CPU厂商也从春秋战国逐渐到了现在四国鼎立的时代(高通,MTK,三星, ...
随机推荐
- Linux中查看GNOME版本号
在使用图形终端时,可以在虚拟终端中直接输入gnome-about,会弹出如下窗口. 或者在纯命令行模式下使用下面命令: $ gnome-about --gnome-version 注:Gnome 3. ...
- 【转】mysql 索引过长1071-max key length is 767 byte
问题 create table: Specified key was too long; max key length is 767 bytes 原因 数据库表采用utf8编码,其中varchar(2 ...
- 【AD】实用组策略/脚本集合 (重大更新20160627)
文章原始出处 http://blog.51cto.com/xifanliang/1793576 http://bbs.51cto.com/thread-1170777-1.html 作者:xifaln ...
- java 多线程 33: 多线程组件之 Callable、Future和FutureTask
Callable Callable和rRunnable差不多,两者都是为那些其实例可能被另一个线程执行的类而设计的,最主要的差别在于Runnable不会返回线程运算结果,Callable可以(假如线程 ...
- java二维码的生成与解析代码
二维码,是一种采用黑白相间的平面几何图形通过相应的编码算法来记录文字.图片.网址等信息的条码图片.如下图 二维码的特点: 1. 高密度编码,信息容量大 可容纳多达1850个大写字母或2710个数字或 ...
- jQuery.fly插件实现添加购物车抛物线效果
样例 使用电商 APP 购买商品时,很多都有上图的红色小球抛物线效果,下面通过 jQuery.fly 插件来实现一个简单 Demo. 实现 简单思路: 确定抛物线的起始和终止位置: 通过 js 在起始 ...
- JDK 5.0 注解的使用
了解注解 在编写代码时,除了源程序以外,我们还会使用Javadoc标签对类.方法或成员变量进行注解,以便使用Javadoc工具生成和源代码配套的Javadoc文档. /** * 重写toString ...
- Unity2017与Visual Studio2017的兼容问题
Unity2017中新建脚本后,用Visual Studio2017打开发现不兼容. 方法一:管理员权限运行Unity. 方法二:打开Visual Studio Installer,下载Unity相关 ...
- 区块链blockchina简述
区块链是比特币的底层技术和基础架构,本质上是一个去中心化的数据库.区块链是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一次比特币网络交易的信息,用于验证其信息的有效性(防伪)并生成下一个 ...
- Linux文本编辑器(九)
[教程主题]:Linux文本编辑器 [1]vi vi编辑器是所有Unix及Linux系统下标准的编辑器,它的强大不逊色于任 何最新的文本编辑器,这里只是简单地介绍一下它的用法和一小部分指令. 由于对U ...