Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Patrick Philips
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!