• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Corba : Fatal Error

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ....
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic