Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Corba : Fatal Error

 
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
 
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 ....
 
    Bookmark Topic Watch Topic
  • New Topic