有谁用过CORBA?能提供一个具体的例子吗?

darkone 2005-11-28 12:09:26
我在编译CORBA SERVER的程序时候时候出现错误:
could not create JVM
怎么解决那?
...全文
124 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
h2plus0 2005-11-28
  • 打赏
  • 举报
回复
在news://newsgroups.borland.com找到的

另外不知你用的是visibroker什么版本?你那有 visibroker for cpp 4.5 的patch 吗?
http://community.csdn.net/Expert/TopicView.asp?id=4376777



title:
Error at starting idl2java "Unable to initialize threads: cannot find class java/lang/Thread could not create JVM"


1. Your PATH variable should reflect the path where jre\bin and jer\lib dirs can
be located.
2. In your registry, HKEY_LOCAL_MACHINE\Software\Javasoft\Java Runtime
Environment\<version#>\JavaHome should reflect the location of jre dir.
3. In your registry, HKEY_LOCAL_MACHINE\Software\Javasoft\Java Runtime
Environment\<version#>\JavaRuntimeLib should reflect the location of jvm.dll
Goodluck.
-emmeye

Maqsood wrote:

> I am actually having the same exact problem. I was originally running JDK
> 1.2.2 (I replaced it with JDK 1.3)and visibroker. I uninstalled and
> reinstalled the two in different order but to no avail. Funny thing is I
> have the same packages running on my laptop and working fine.
>
> Before anyone asks, yes I did configure my path in windows.
>
> any help would be greatly appreciated.
>
> Thank you
>
> "Este Brits" <esteb@limon.co.za> wrote in message news:3a39ba5c_1@dnews...
> > Hi
> >
> > I reinstalled my java and visibroker, and set my environment variables
> > again, and it works.
> > {Now I know why they say 'if you fiddle with something long enough, it
> will
> > eventually break'}
> >
> > Thanks.
> > Esté
> >
> > Olivier ECHARD <oechard@inprise.com> wrote in message
> > news:3A34A332.6A2F5DA7@inprise.com...
> > > you can try to use something like that
> > > or reinstall your jdk and then the orb
> > >
> > > C:\appserver>idl2java -VBJjavavm c:\jdk1.3\bin\java -VBJversion
> > > VisiBroker Developer for Java [04.01.01.C1.04] (AUG 24 2000 19:43:40)
> > > Java: Version 1.3.0 from Sun Microsystems Inc.
> > > OS: Windows NT version 4.0; CPU: x86
> > >
> > > bye
> > >
> > > Este Brits wrote:
> > >
> > > > Hi
> > > >
> > > > I have the same problem, and by now my ClassPath and Path variable has
> > my
> > > > JDK path in, and it does precede the others. I still have the same
> > problem,
> > > > so I will appreciate it if someone can give me more information on
> this.
> > > > What file is supposed to contain this class. My platform is the same
> as
> > > > Iouri's. I would also like to know whether it solved Iouri's problem
> > > >
> > > > Regards
> > > > Esté
> > > >
> > > > James Zhang <ZhangMing@pasc.com.cn> wrote in message
> > > > news:3a05fe15_1@dnews...
> > > > > Check your path enviroment variable!
> > > > > Be sure of the JDK's path precede the others
> > > > > Good Luck!
> > > > > James Zhang
> > > > > "Iouri" <uvk@trustworks.com> wrote in message
> > news:3a02da06$1_2@dnews...
> > > > > > Greetings!
> > > > > >
> > > > > > Does anyone have information about such problem?:
> > > > > > At starting idl2java the message appears:
> > > > > > "Unable to initialize threads: cannot find class java/lang/Thread
> > could
> > > > > not
> > > > > > create JVM".
> > > > > > Visibroker for Java 4.1, Windows NT 4.0, SP6
> > > > > >
> > > > > > Thank you in advance,
> > > > > > Iouri.
> > > > > >
> > > > > >
> > > > >
> > > > >

13,826

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧