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
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
posted 17 years ago
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.