Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / CORBA / August 2005

Tip: Looking for answers? Try searching our database.

JacOrb can't find name service or idl compiler

Thread view: 
brightoceanlight@hotmail.com - 28 Aug 2005 20:47 GMT
Hi,

I'm a newbie with JacOrb.  I installed it on windows, but trying to run
ns and idl from command line and it can't find jaco for ns and for idl,
it says it can't find idl.

I added the \bin directory to my path.  But looking in the bin, I can't
find jaco or idl.  Could anyone suggest what I might be doing wrong?

Thank you,

Gil
brightoceanlight@hotmail.com - 29 Aug 2005 18:06 GMT
Okay, looks like I skipped some steps in the installation.  It seems
you need to call 'ant jaco'

but then I get an error :

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/AntMain
Mark Woyna - 30 Aug 2005 15:02 GMT
You can skip the ant step, which is used to create a two line batch
file, and create the file yourself.

In the JacORB/bin directory, copy the idltemplate.bat file to idl.bat.

Next, edit the idl.bat file, which initially looks like this:

 @echo off
 java -classpath "@@@\lib\idl.jar" org.jacorb.idl.parser %*

Replace the three @'s with the full path to the directory where you
installed JacORB. For example,

 @echo off
 java -classpath "C:\Apps\JacORB\lib\idl.jar" org.jacorb.idl.parser %*

That's it. I don't know why one would expect someone to download and
install Ant simply to replace "@@@" in a 2 line file.

Mark


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.