Pages : 1
#1 Le 28/05/2009, à 01:11
- fay.zer
Problème Java lors de l'ouverture Matlab
Bonjour,
Je viens d'installer matlab, sauf que quand je veux le lancer, j'ai le msg suivant :
-----------------------------------------------------------------------------------------------------
Warning: Cannot locate Java Runtime Environment (JRE) . . .
1. Either a correct JRE was not available for redistribution when
this release was shipped, in which case you should refer to the
Release Notes for additional information about how to get it.
2. Or you have tried to use the MATLAB_JAVA environment variable
to specify an alternate JRE, but MATLAB cannot find it. Please
run 'matlab -n' to determine what value you are using for
MATLAB_JAVA and fix accordingly.
---------------------------------------------------------------------------
License Manager Error -8.
Invalid (inconsistent) license key
The license-key and data for the feature do not match.
This usually happens when a license file has been altered
Feature: MATLAB
License path: /usr/local/matlab7/etc/license.dat:/usr/local/matlab7 -
/etc/license.lic
FLEXlm error: -8,130
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
Make sure your license file is correct.
Check date and passcodes in MATLAB INCREMENT line of license file.
For more information, see The MathWorks Support page at
http://www.mathworks.com/support and search for
"license manager error -8"
-------------------------------------------------------------------------------------------------------------------
Ducoup, j'entre en session sudo, et la, le problème de licence ne se pose plus.
Je rentre la ligne de commande suivante :
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre/
et j'ai la (j'ai bien cru que ça allait marcher) j'obtiens ceci en relançant matlab:
---------------------------------------------------------------------------------------------------------------------
Warning: Could not read file classpath.txt.
Warning: Could not read file librarypath.txt.
Warning: Class com/mathworks/jmi/NativeMatlab not found--unable to register native methods.
Opening log file: /home/zerouali/java.log.14889
java.lang.NoClassDefFoundError: com/mathworks/services/message/MWMessage
Caused by: java.lang.ClassNotFoundException: com.mathworks.services.message.MWMessage
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x06241ce5, pid=14889, tid=3058649360
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing linux-x86)
# Problematic frame:
# V [libjvm.so+0x241ce5]
#
# An error report file with more information is saved as:
# /home/zerouali/hs_err_pid14889.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
------------------------------------------------------------------------
Fatal Java Exception detected at Thu May 28 02:09:40 2009
------------------------------------------------------------------------
Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1. Send us this crash report. For your convenience, this information
has been recorded in: /home/zerouali/java.log.14889
2. Provide a brief description of what you were doing when this
problem occurred.
3. If possible, include M-files, MEX-files, or MDL-files that aid
in reproducing it.
4. E-mail or FAX this information to us at:
E-mail: support@mathworks.com
FAX: 508-647-7201
Thank you for your assistance.
-----------------------------------------------------------------------------------------------------------------------
Quelqu'un peut il m'aider. C'est une urgence (projet advection et saint venant a rendre dimanche)
Merci
Hors ligne
Pages : 1