Solved

CORBA compiler in Win32????

Posted on 1997-11-17
6
185 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
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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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 200 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 115
more than one jdk and one jre 1 41
SHA2 certs for IIS AND Java? 2 94
iterator/ListIterator approach 17 27
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

803 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