Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Java classpath.txt
Date: Thu, 29 Mar 2012 02:44:31 +0000 (UTC)
Organization: King's College London
Lines: 7
Message-ID: <jl0iaf$sor$1@newscl01ah.mathworks.com>
References: <jl089q$15d$1@newscl01ah.mathworks.com> <jl0ckc$cpp$1@newscl01ah.mathworks.com> <jl0f6r$k7m$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1332989071 29467 172.30.248.38 (29 Mar 2012 02:44:31 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 29 Mar 2012 02:44:31 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477
Xref: news.mathworks.com comp.soft-sys.matlab:762534

"Chuck37" wrote in message <jl0f6r$k7m$1@newscl01ah.mathworks.com>...
> "Malcolm Lidierth" wrote in message <jl0ckc$cpp$1@newscl01ah.mathworks.com>...
> > I have a local install only so can not address the main Q, but unless you need to replace/delete items - e.g. when MATLAB distributed jars are out-of-date, there seems little to gain from editing the static path rather than using javaaddpath to place jars on the dynamic path - particularly if you add the extra jars at the start of a MATLAB session. 
> 
> Some things I read suggest that it will load faster from the static path.  I honestly don't understand it, but if it is easy I was going to give it a shot.

True - but loading a class is a one-off event. The only time I see a (just) noticeable delay is when I first reference a class in a jar - even when it has quite a number of dependent jars in its /lib folder.