求救:开发corba程序idl问题。(100分)

Y

yps

Unregistered / Unconfirmed
GUEST, unregistred user!
我新建一个corba客户端程序,出现idl2pas client dialog框,
我选择了window,同时我选择了正确例子的idl文件,按ok后,
出现failto run:/bin/java.系统找不到路径。
我用的是delphi6.
我本机已有了jdk1.3.1.
系统环境变量已设置了,同时在dos窗口下也可运行java命令。
不知道delphi是怎么寻找的java.exe的.
 
自己执行idl2pas看,是个bat在bin下
rem jre.exe should be in your path and -cp should be set to the location of idl2
pas.jar.
rem -mxNumber is the max heap size. This can be increased if the jvm runs out of
heap.
echo on
java -mx40000000 -cp "C:/Program Files/Borland/Delphi6/Bin/idl2pas.jar" com.inpr
ise.vbroker.compiler.tools.idl2pas %1 %2 %3 %4 %5 %6 %7 %8 %9
--
http://www.8421.org
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
2K
DelphiTeacher的专栏
D
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
1K
DelphiTeacher的专栏
D
顶部