Java Error on startup and unable to plot.

2 次查看(过去 30 天)
when I start MATLAB 2015B, I get the following error, and then I am unable to plot.
Warning: Caught Exception while retrieving executable temp base directory: java.lang.RuntimeException: Could not determine a temporary executable directory at com.jogamp.common.util.IOUtil.getTempDir(IOUtil.java:1391) at com.jogamp.common.util.cache.TempFileCache.<clinit>(TempFileCache.java:80) at com.jogamp.common.util.cache.TempJarCache.initSingleton(TempJarCache.java:89) at com.jogamp.common.os.Platform$1.run(Platform.java:201) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.<clinit>(Platform.java:179) at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120) at com.mathworks.hg.peer.JavaSceneServerPeer.initializeJOGL(JavaSceneServerPeer.java:134) at com.mathworks.hg.peer.JavaSceneServerPeer.<clinit>(JavaSceneServerPeer.java:104) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:258) at com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:25) at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:244) at java.lang.Thread.run(Unknown Source) Exception in thread "Startup Class Loader" java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\Jacob-(8289893310)\Documents\MATLAB\gluegen-rt.dll at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:596) at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64) at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96) at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:459) at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388) at com.jogamp.common.os.Platform$1.run(Platform.java:209) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.<clinit>(Platform.java:179) at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120) at com.mathworks.hg.peer.JavaSceneServerPeer.initializeJOGL(JavaSceneServerPeer.java:134) at com.mathworks.hg.peer.JavaSceneServerPeer.<clinit>(JavaSceneServerPeer.java:104) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:258) at com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:25) at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:244) at java.lang.Thread.run(Unknown Source)
I have double checked my JAVA installation and it appears to be fine.
How can I fix this problem?

回答(1 个)

Anusha B
Anusha B 2015-3-30
A possible reason for the error message is the home directory being mounted with the 'noexec' option. Removing this option can help in preventing the error message from occurring.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by