Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » -vmargs -Djava.endorsed.dirs not working in 3.5
-vmargs -Djava.endorsed.dirs not working in 3.5 [message #480248] Fri, 14 August 2009 10:37 Go to next message
Eclipse User
Originally posted by: lcphillips.partners.org

-vmargs -Djava.endorsed.dirs does not seem to be working in 3.5

It appears to be ignored.

Any suggestions or workarounds?

Thanks
lori
Re: -vmargs -Djava.endorsed.dirs not working in 3.5 [message #480258 is a reply to message #480248] Fri, 14 August 2009 11:04 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Does that automatically add the jar you are interested in to the boot classpath of the JVM?

OSGi is involved, maybe you need to add some extra arguments. You might want to post to eclipse.technology.equinox.

PW


Re: -vmargs -Djava.endorsed.dirs not working in 3.5 [message #480259 is a reply to message #480248] Fri, 14 August 2009 10:44 Go to previous messageGo to next message
Olivier Thomann is currently offline Olivier Thomann
Messages: 518
Registered: July 2009
Senior Member
Lori Phillips a écrit :
> -vmargs -Djava.endorsed.dirs does not seem to be working in 3.5
> It appears to be ignored.
> Any suggestions or workarounds?
Are you putting both on the same line ?
You need to write:
-vmargs
-Djava.endorsed.dirs...
....
--
Olivier
Re: -vmargs -Djava.endorsed.dirs not working in 3.5 [message #480261 is a reply to message #480259] Fri, 14 August 2009 10:51 Go to previous messageGo to next message
Eclipse User
Originally posted by: lcphillips.partners.org

it is written that way in the .ini file
Re: -vmargs -Djava.endorsed.dirs not working in 3.5 [message #480264 is a reply to message #480258] Fri, 14 August 2009 11:07 Go to previous messageGo to next message
Eclipse User
Originally posted by: lcphillips.partners.org

How would I verify that the jar was added to the classpath?

-lori
Re: -vmargs -Djava.endorsed.dirs not working in 3.5 [message #483242 is a reply to message #480264] Mon, 31 August 2009 13:39 Go to previous message
Eclipse User
Originally posted by: lcphillips.partners.org

I added this to vm args:
-Dorg.osgi.framework.bootdelegation=*

and the problem appears to be fixed.

-lori
Previous Topic:How to set the default location in New Wizard for GMF plug-in
Next Topic:How to link plugin preferencePage as sub-category of another plugin?
Goto Forum:
  


Current Time: Fri Jul 25 11:58:04 EDT 2014

Powered by FUDForum. Page generated in 0.02463 seconds