File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JacORB. Eclipse and alternative to Xbootclasspath/p  .... ?" Watch "JacORB. Eclipse and alternative to Xbootclasspath/p  .... ?" New topic
Author

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

Patrick Philips
Greenhorn

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.

Thanks.

Patrick.


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
-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JacORB. Eclipse and alternative to Xbootclasspath/p .... ?
 
Similar Threads
Client's VM
Problem with jar loading
Change of System class
Java, how to set path in cmd?
how to set JacOrb connection time out