This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes JacORB. Eclipse and alternative to Xbootclasspath/p  .... ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JacORB. Eclipse and alternative to Xbootclasspath/p  .... ?" Watch "JacORB. Eclipse and alternative to Xbootclasspath/p  .... ?" New topic

JacORB. Eclipse and alternative to Xbootclasspath/p .... ?

Patrick Philips

Joined: Apr 06, 2011
Posts: 2
Hi everyone,
I have a problem with JacORB in Eclipse.
I have installed JacORB and am using successfully from within an Eclipse RCP project.
However in order to get the JacORB ORB to be loaded instead of the Sun ORB from rt.jar
I have to use the argument -Xbootclasspath/p:<path to jacorb.jar> to load
the jacorb before/instead of the Sun ORB.
This all works fine, the problem is I have read online that the use of -Xbootclasspath contravenes the
Java2 binary runtime license if the software is to be published, this will be published which leaves me with a
problem! Does anyone know of another way (legally) to load Jacorb instead of the SUN ORB
without using the -Xbootclasspath method?
Any help about a way round this would be much appreciated.



I have resolved this one myself after a bit more work on it.
However, just in case anyone out there is up against the same problem here is what I did:

add the following to the args passed to the VM either on the command line or in VM Arguments in the Eclipse product:
-Djava.endorsed.dirs=<path to jacorb lib directory> e.g.-Djava.endorsed.dirs=C:\CORBA\JacORB\jacorb-2.3.1-src\jacorb-2.3.1\lib
I agree. Here's the link:
subject: JacORB. Eclipse and alternative to Xbootclasspath/p .... ?