From: Sloan Johnson on
I just installed Matlab R2006b on a user's Sun (SPARC) Solaris
workstation. When run as root, it loads and works properly. However
when run as user upon loading matlab, I get a slew of Java errors in
the matlab console:

Exception in thread "Thread-6" java.lang.NoClassDefFoundError
at
com.mathworks.mde.editor.IDEEditor.<init>(IDEEditor.java:99)
at
com.mathworks.mde.editor.IDEEditor.getInstance(IDEEditor.java:66)
at
com.mathworks.mde.editor.EditorServices.loadBuiltinEditor(EditorServic
es.java:499) at
com.mathworks.mde.editor.EditorServices.loadEEIEditor(EditorServices.j
ava:530)
at
com.mathworks.mde.editor.EditorViewContainer.<clinit>(EditorView
Container.java:165)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.mathworks.mde.desk.StartupClassLoader.callClassForName(StartupClas
sLoader.java:304)
at
com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader
..java:282)
at
com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoade
r.java:27)
at
com.mathworks.mde.desk.StartupClassLoader$LoadThread.run(StartupClassL
oader.java:271)

If you try and load a file, it pops up with an error about the
startup classes not loading as well...
I also tried installing as the user in their home directory, but with
the same results. I have tried reinstalling java without success; I
am able to run other Java applications as the user, so I am at a
loss.

A previous version (sorry, not sure which) of matlab was working fine
on this workstation previously as well...

If anyone has seen this problem, or has suggestions it would be
greatly apprecaited!

Thanks,
Sloan Johnson

Systems Administrator
Pielke Research Group
Colorado State University
From: Thorvaldur Arnarson on
Hi Sloan,

Just upgraded to the 2006b version and
had the same problem. I used a rather crude
method to fix the problem as it sounded like
it was permission based. First I tried to
give read permission to all users to no avail.
After giving write permission to all users
the problem went away. Now the only issue left is
to pinpoint where exactly this write permission
needs to be applied so that the security of the
installation is not compromised.

Any comments from the good people at Mathworks?

If you find which files/directories are relevant,
could you drop me a note?

Best regards, Tolli.

Sloan Johnson wrote:
>
>
> I just installed Matlab R2006b on a user's Sun (SPARC) Solaris
> workstation. When run as root, it loads and works properly.
> However
> when run as user upon loading matlab, I get a slew of Java errors
> in
> the matlab console:
>
> Exception in thread "Thread-6" java.lang.NoClassDefFoundError
> at
> com.mathworks.mde.editor.IDEEditor.<init>(IDEEditor.java:99)
> at
> com.mathworks.mde.editor.IDEEditor.getInstance(IDEEditor.java:66)
> at
>
com.mathworks.mde.editor.EditorServices.loadBuiltinEditor(EditorServ
> ic
> es.java:499) at
>
com.mathworks.mde.editor.EditorServices.loadEEIEditor(EditorServices
> .j
> ava:530)
> at
>
com.mathworks.mde.editor.EditorViewContainer.<clinit>(EditorVi
> ew
> Container.java:165)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
>
com.mathworks.mde.desk.StartupClassLoader.callClassForName(StartupCl
> as
> sLoader.java:304)
> at
>
com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoad
> er
> .java:282)
> at
>
com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoa
> de
> r.java:27)
> at
>
com.mathworks.mde.desk.StartupClassLoader$LoadThread.run(StartupClas
> sL
> oader.java:271)
>
> If you try and load a file, it pops up with an error about the
> startup classes not loading as well...
> I also tried installing as the user in their home directory, but
> with
> the same results. I have tried reinstalling java without success;
> I
> am able to run other Java applications as the user, so I am at a
> loss.
>
> A previous version (sorry, not sure which) of matlab was working
> fine
> on this workstation previously as well...
>
> If anyone has seen this problem, or has suggestions it would be
> greatly apprecaited!
>
> Thanks,
> Sloan Johnson
>
> Systems Administrator
> Pielke Research Group
> Colorado State University