J'ai installé la JRE depuis le site de SUN, mais toujours pas d'amélioration il semble toujours pas la reconnaitre ! (même message d'erreur au lancement de ./matlab)
EN revance matlab -n donne :
Code :
- /usr/local/matlab7/bin/scripts/.matlab7rc.sh: line 224: syntax error near unexpected
- token `|'
- /usr/local/matlab7/bin/scripts/.matlab7rc.sh: line 224: ` MATLAB=|>MATLAB<
- |'
- ------------------------------------------------------------------------
- -> (.matlab7rc.sh) sourced from directory (DIR = .)
- -> DIR = /usr/local/matlab7/bin/scripts
- ------------------------------------------------------------------------
- a = argument e = environment r = rcfile s = script
- ------------------------------------------------------------------------
- -> s MATLAB = /usr/local/matlab7/bin
- -> s AUTOMOUNT_MAP =
- -> e DISPLAY = :0.0
- -> r ARCH = glnx86
- -> s TOOLBOX = /usr/local/matlab7/bin/toolbox
- -> s XAPPLRESDIR = /usr/local/matlab7/bin/X11/app-defaults
- -> s XKEYSYMDB = /usr/local/matlab7/bin/X11/app-defaults/XKeysymDB
- -> e MAX_OPEN_FILES = 1024
- -> s _JVM_THREADS_TYPE =
- -> e MATLAB_JAVA =
- -> s MATLAB_MEM_MGR =
- -> s MATLAB_DEBUG =
- -> rs LD_LIBRARY_PATH = /usr/local/matlab7/bin/sys/os/glnx86:/usr/local/matlab
- 7/bin/bin/glnx86:/usr/local/matlab7/bin/extern/lib/glnx86:/lib/i386/native_threads:/
- lib/i386:/usr/local/matlab7/bin/sys/opengl/lib/glnx86
- -> a arglist =
- -> e SHELL = /bin/bash
- -> e PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/loc
- al/bin:/usr/games:/usr/NX/bin
- ---------------------------------------------------------------------------
- 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. Check
- the value of MATLAB_JAVA above and fix accordingly.
- ---------------------------------------------------------------------------
- -> s MATLABPATH = (initial version)
- /usr/local/matlab7/bin/toolbox/local
- -> $MATLAB/toolbox/local/pathdef.m -
- |-----------------------------------------------------------------------
- Warning: $MATLAB/toolbox/local/pathdef.m not found . . .
- |-----------------------------------------------------------------------
- ------------------------------------------------------------------------
|
Pour info, si je lance matlab -nojvm (sans le support de Java) j'ai quand même l'erreur suivante qui persiste :
Code :
- /usr/local/matlab7/bin/scripts/.matlab7rc.sh: line 224: syntax error near unexpected token `|'
- /usr/local/matlab7/bin/scripts/.matlab7rc.sh: line 224: ` MATLAB=|>MATLAB<|'
- matlab: No MATLAB bin directory for this machine architecture.
- ARCH = glnx86
|
Je m'en sors pas bouuuh lol, si vous avez une idée !! Merci bcp.