Borrar filtros
Borrar filtros

Installing Matlab 2012a in Ubuntu 12.04 java problem

1 visualización (últimos 30 días)
Sabyasachi Deyati
Sabyasachi Deyati el 7 de Jul. de 2012
Respondida: mosi el 27 de Sept. de 2014
Hi ,
I was trying to install matlab2012a in Ubuntu 12.04 . I am getting the following java error .
sabyasachi@sabyasachi-ubuntu:~/Downloads/R2012a_UNIX$ sudo ./install -v
[sudo] password for sabyasachi:
Preparing installation files ...
-> DVD = /home/sabyasachi/Downloads/R2012a_UNIX
-> ARCH = glnxa64
-> DISPLAY = :0
-> TESTONLY = 0
-> JRE_LOC = /tmp/mathworks_3317/sys/java/jre/glnxa64/jre
-> LD_LIBRARY_PATH = /tmp/mathworks_3317/bin/glnxa64
Command to run:
/tmp/mathworks_3317/sys/java/jre/glnxa64/jre/bin/java -splash:"/home/sabyasachi/Downloads/R2012a_UNIX/java/splash.png" -Djava.ext.dirs=/tmp/mathworks_3317/sys/java/jre/glnxa64/jre/lib/ext:/tmp/mathworks_3317/java/jar:/tmp/mathworks_3317/java/jarext:/tmp/mathworks_3317/java/jarext/axis2/:/tmp/mathworks_3317/java/jarext/guice/:/tmp/mathworks_3317/java/jarext/webservices/ com/mathworks/professionalinstaller/Launcher -root "/home/sabyasachi/Downloads/R2012a_UNIX" -tmpdir "/tmp/mathworks_3317"
Installing ...
/tmp/mathworks_3317/sys/java/jre/glnxa64/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
Finished
Could you please help .

Respuestas (2)

Mallik
Mallik el 7 de Sept. de 2012
Editada: Mallik el 7 de Sept. de 2012
You need to make the java files executable in order to install in Ubuntu 12.04.
Execute the commands: cd /sys/java/jre/glnxa64/jre/bin,
chmod +x java
This will make java executable. Other easier way is to navigate to the '/sys/java/jre/glnxa64/jre/bin' folder and right-click on 'java' file. Click 'Properties'. In the Permissions tab, check the box against 'Allow executing file as a program'.
Note: You cannot change the java permission if the installer files are located on a drive with NTFS file system. The files necessarily need to be on a drive with ext3 file system.
Now start the installation. Enjoy!

mosi
mosi el 27 de Sept. de 2014
You have some problem with java. Try this one:
copy your Matlab Setup-files in a local drive like '/home/user/Desktop/Matlab':
install oracle-java: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default
then: sudo ./install -javadir /usr/lib/jvm/java-8-oracle/

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by