JacORB. Eclipse and alternative to Xbootclasspath/p .... ?
posted 4 years ago
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