compiling corba .idl file error

*爱你&永不变心* 提交于 2019-12-11 22:59:09

问题


Eclipse IDL compilation

So im in the directory of the .idl file and I want to compile the gridDemo file, So I type idlj gridDemo.idl and I get the error that idlj is not a recognized as an internal or external command

What am I doing wrong ?

Yes Im running windows

I have installed the java sdk,

C:\Program Files (x86)\Java\jre7\bin

Is this the path I put into the system variable path?

SOLVED I was using the wrong file. it should have been the jdk not jre folder.

Thanks very much :)


回答1:


Update the PATH environmental variable to include the location of the idlj.exe executable

%PATH%;C:\Program Files (x86)\Java\jre7\bin



回答2:


Please check the file idlj.exe under JDK directory(found it in jdk 1.4 and later),

C:\Program Files\Java\jdk1.6.0\bin\ and ,

add it to path under environment variables :

%PATH%;C:\Program Files\Java\jdk1.6.0\bin\



来源:https://stackoverflow.com/questions/18933443/compiling-corba-idl-file-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!