`

oepnejb -start 启动 could not create the java virtual machine

    博客分类:
  • EJB
阅读更多

   今早启动openejb的时候,报错:

could not create the java virtual machine

 

刚开始以为是JDK 没有配置好,测试窗口命令都可以,感觉不是。问题可能在openejb环境上,去网上搜了半天也没发现什么结果,后来在一个旮旯里openejb作者的一句话:

openejb 运行jdk 环境必须在 jdk1.4 以上,

我的JDK是1.6啊,难道变了?

想起昨晚安装了oracle10g,前面的JDK变量好像没有配置,立即cmd --  java -version

还真是的jdk 变成了:version 1.3.1_01 java(TM)的是<build1.3.1_01>

 

 

解决办法:将JDK 加入到oracle环境变量的最前面。这样java -version jdk1.6.0.6 回来了。

当然openejb也能启动了。

C:\Program Files\Java\jdk1.6.0_06\bin;M:\oracle\product\10.1.0......

 

分享到:
评论

相关推荐

    Bochs - The cross platform IA-32 (x86) emulator

    - ported the read-only part of Qemu's 'virtual VFAT' block driver - additions: configurable disk geometry, FAT32 support, read MBR and/or boot sector from file, volatile write support using hdimage...

    微软内部资料-SQL性能优化2

    By leveraging the Address Windowing Extensions API, an application can create a fixed-size window into the additional physical memory. This allows a process to access any portion of the physical ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    For example, if your header file uses the File class in ways that do not require access to the declaration of the File class, your header file can just forward declare class File; instead of having ...

    MS.Azure.Planning.Deploying.and.Managing.Your.Data.Center.in.the.Clou

    In the book’s final chapters, you’ll find cutting edge examples of cloud technology in action, from machine learning to business intelligence, for a taste of some exciting ways your business could ...

    8-07-14_MegaCLI for linux_windows

    LSIP200232922 (DFCT) MegaCLI misspell the word "package" as "pakage" under ctrl version and it does not displays firmware version LSIP200232921 (DFCT) MegaCLI displays version for PD in unclear ...

    BobBuilder_app

    I decided against using SortedDictionary for the pages as it was slower than a normal Dictionary and for the purpose of a key value store the sorted-ness was not need and could be handled in other ...

    Docker-in-Action.pdf

    One day I sat down to install the software and start integrating a personal proj- ect. At this point I had several years of experience working with open source applica- tions, but few were as ...

    EurekaLog_7.5.0.0_Enterprise

    3)....Fixed: spawned by ecc32/emake processes now start with the same priority 4)....Fixed: ThreadID = 0 in StandardEurekaNotify 5)....Fixed: Dialog auto-close timer may reset without user input 6)......

    mini2440 beer(pwm) 驱动

    could not establish link Using dm9000 device File transfer via NFS from server 192.168.1.30; our IP address is 192.168.1.20 Filename '/home/liyong-zou/nfs/kernel/uImage'. Load address: 0x30008000 ...

Global site tag (gtag.js) - Google Analytics