We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

CORBA compiler in Win32????

pjroy
pjroy asked
on
Medium Priority
203 Views
Last Modified: 2010-04-16
Hi,

Is someone have succeded in running idltojava compiler with jdk1.1.4 in Win32 platform. When I try to run to sun hello example, it give me an error like that "unknow command CL".

I'm not alone. Can something be done.
Thanks
Comment
Watch Question

Author

Commented:
I have ust changed my e-mail.

If you are running over Neo, I would suggest you reconsider your option rather than investing more time on solving the problem, Sun just dropped its middleware product. Se article at:

http://www.sun.com/sunworldonline/swol-11-1997/swol-11-neo.html

Re. your specific problem, If your running the server, Neo does not correctly compile the skeleton code for any server, does a fairly good job with the client stubs though.

Commented:
Visibroker seems to work just fine
Actualy, Visibroker is the only Java ORB that can currently be deployed on servers and that supports both SSL and HTTP tunneling for firewall's. Its one draw back is that the developer version is rather expensive for experimenting and its trial version is limited to 2 weeks.

At any rate, Visibroker (http://www.visigenic.com) is currently the only good solution to your problem.

There are a couple of freeware ORB's on the net but all of them are lacking in some key feature or other, such as incomplete IDL support, no support for IIOP no naming service or other such lacks that make working with them pretty usless.
Commented:
I have exactly the same config. as you...and also had problems to run the examples. I have found the solution here:

http://www.sun.com/solaris/java-idl/qna.html

"The idltojava compiler, by default, uses a C/C++ preprocessor. If you have one and want to leave this flag on (default), make certain the location of your preprocessor (typically the bin directory of whatever development environment you are using) is in your PATH before invoking idltojava. If you don't have a preprocessor, or don't want to use it, use:

-fno-cpp

on the command line when invoking idltojava."

In my case, this works fine:

idltojava -fno-cpp -fclient -fserver hello.idl

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
You give exactly what I want to hear. Excellent job.

Thanks.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.