?
Solved

CORBA compiler in Win32????

Posted on 1997-11-17
6
Medium Priority
?
190 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
0
Comment
Question by:pjroy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:pjroy
ID: 1230818
I have ust changed my e-mail.

0
 
LVL 6

Expert Comment

by:jpk041897
ID: 1230819
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.
0
 
LVL 4

Expert Comment

by:russgold
ID: 1230820
Visibroker seems to work just fine
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:jpk041897
ID: 1230821
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.
0
 
LVL 5

Accepted Solution

by:
fontaine earned 800 total points
ID: 1230822
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
0
 

Author Comment

by:pjroy
ID: 1230823
You give exactly what I want to hear. Excellent job.

Thanks.

0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question