• Post Reply Bookmark Topic Watch Topic
  • New Topic

Corba : Fatal Error

 
sachin dabhade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U can compile like this

c>idlj -fall Hello.idl
 
sachin dabhade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Still any doubts contact me ....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!