hi,i am new to corba and tried to program my first program "Hello World " using java and corba. i created an Idl and trying to map it to java using JavatoIdl utility which i got from www.java.sun.com i have included javatoidl in classpath. from the command prompt,i write the following command : javatoidl Hello.idl but when i try this i am getting error : "Fatal Error : cannot preprocess input file " can anybody take me out of this? thanks in advance. sachin
Graham Thorpe
Ranch Hand
Joined: Mar 25, 2002
Posts: 264
posted
0
U can compile like this
c>idlj -fall Hello.idl
sachin dabhade
Ranch Hand
Joined: Mar 10, 2001
Posts: 73
posted
0
But,the documentation which i got with javatoidl.exe says that i should compile it using : c:>javatoidl Hello.idl you said to compile using c:>idlj -fall Hello.idl is it available with jdk? whats the difference between idlj -fall Hello.idl and javatoidl Hello.idl?
i will try it today itself after going home from college. thank you, sachin
Graham Thorpe
Ranch Hand
Joined: Mar 25, 2002
Posts: 264
posted
0
yes idlj is avialable on jdk1.3\bin direcory.If u dont know this idlj.exe u an download new version of jdk from sun. But i didn`t know according u say "javato". Recently i also learning corba Idl language so i successfully execute IDL program through idlj -fall Hello.idl then u can get the stub classes folder.