[Jmatlink-commitlog] jmatlink/src/jmatlink CoreJMatLink.java,1.11,1.12
Brought to you by:
st_mueller
|
From: Stefan M. <st_...@us...> - 2005-10-29 16:25:11
|
Update of /cvsroot/jmatlink/jmatlink/src/jmatlink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17075/src/jmatlink Modified Files: CoreJMatLink.java Log Message: added more comments if loading of the library failed Index: CoreJMatLink.java =================================================================== RCS file: /cvsroot/jmatlink/jmatlink/src/jmatlink/CoreJMatLink.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** CoreJMatLink.java 27 Oct 2005 20:36:12 -0000 1.11 --- CoreJMatLink.java 29 Oct 2005 16:25:04 -0000 1.12 *************** *** 138,146 **** } catch (UnsatisfiedLinkError e) { ! System.out.println("ERROR: Could not load the JMatLink library"); ! System.out.println(" This error occures, if the path to"); ! System.out.println(" MATLAB's <matlab>\\bin directory is"); ! System.out.println(" not set properly."); ! System.out.println(" Or if JMatLink.dll is not found."); } } --- 138,169 ---- } catch (UnsatisfiedLinkError e) { ! ! // print some useful information for fault tracking ! System.out.println("ERROR: Could not load the JMatLink library"); ! System.out.println(" Win: This error occures, if the path to"); ! System.out.println(" MATLAB's <matlab>\\bin directory is"); ! System.out.println(" not set properly."); ! System.out.println(" Or if JMatLink.dll is not found.\n"); ! System.out.println(" Linux: Check if <matlab>/extern/lib/glnx86 (libeng.so, libmat.so, etc.)"); ! System.out.println(" and <matlab>/sys/os/glnx86 (libstdc++-libc6.1-2.so.3) are in your path.\n"); ! System.out.println(" (you can also copy missing libraries to your local path).\n"); ! ! System.out.println("**** Find important information below ****"); ! String os_name = System.getProperty("os.name"); ! System.out.println("OS Name = "+ os_name); ! ! String libpathnames = System.getProperty("java.library.path"); ! System.out.println("Libpathnames = "+libpathnames); ! ! String classpathnames = System.getProperty("java.classpath"); ! System.out.println("Classpathnames = "+classpathnames); ! ! String os_dependant_lib_file_name = System.mapLibraryName("JMatLink"); ! System.out.println("os dependant lib file name = "+ os_dependant_lib_file_name); ! ! System.out.println("**** Copy all above text and send it to ****"); ! System.out.println("**** st...@he... ****"); ! System.out.println("**** for inspection and fault tracking ****"); ! } } |