Recently I installed MATLAB on my fedora 10, after a long I am taking break from perl like scripting languages, and I found Matlab got installed but was showing a Blank Screen problem, only with ‘start’ button. I will come to this problem in a while, first let see how to install matlab on linux(fedora, ubuntu etc)
STEP I == mount cdrom
STEP II ==* create $MATLAB$ directory (usually /opt/matlab)
STEP III == *standing in the folder MATLAB (here /opt/matlab) run install script in the folder CDROM (./media/CDROM/install) <replace CDROM with the name of mounted folder name for your CD ROM>
To run installed copy of Matlab go to /opt/matlab/bin and run ./matlab
when you will run ./matlab may be you wil get a blank screen for this follow one of the given below steps:
in terminal get root access and then (first way is usually for UBUNTU, but can give a try on fedora also, please share your ecperince in comments for others)
root#vi /etc/environment
add this line export AWT_TOOLKIT=”MToolkit”
save and exit
if you do not see any such file then follow these steps
root# cd /etc/profile.d
root/etc/profile.d# vi matlab.sh (create a file by any name here I had taken matlab.sh )
enter export AWT_TOOLKIT=”MToolkit” and save and close the file
root/etc/profile.d# chmod +x matlab.sh
now either restart the machine or relogin
go to /opt/matlab/bin
and run ./matlab
matlab should run normally
Njoy MATLAB on LINUX (FEDORA, UBUNTU etc.)
_____________________________________
Recently when I tried Matlab R2009a on my newly install Fedora 11, I got errors, (mentioned below with solutions) if you too came across any errors then share here.
Error 1: Error related to libXp and Xsetup
Solution: yum install libXau-devel
yum install libXp
yum install libXp-devel
or try yum install libXp*.*
Hope this will solve your problem also. Soon I will try to set the environment variable and share here. If any one of you know how to do that then please share with others as comments
_________________________________
Creating Symbolic Link for Matlab
In fedora we can create symbolic link by following Steps
Step I: right click “Applications” , click edit
Step II: go to Programming and click add application
Step III: Select “Application in Terminal”
Step IV: Browse to /opt/Matlab/bin and Select matlab.sh
Step V: Ready to go, To njoy matlab go to Applications> Programming> Matlab
Finally we got a symbolic link !
——————————————-
Author : Ashwini Patankar
Hi, I am new to Ubuntu platform.
I have downloaded 3.7 GB of Matlab (for Linux) from Torrent on my desktop:
http://www.torrentreactor.net/torrents/3068744/MATLAB-R2009a-UNIX-(LINUX)-version
There is install file but when I click on it only text file with some unix commands appear. It does open the standard installation wizard. Probably, by default it assumes CD installation and I have downloaded version. Is there any way out?
Please email me the answer if you have.
hi,
i think you had downloaded *.iso right. Just extract the iso in a fodler say you extracted into a folder called matlab on desktop, and hten make a folder in opt/MAtlab . from this positionsay
$opt/matlab> su
#opt/matlab> ./home/Desktop/MAtlab/install
the installer will start form the terminal only.
Hope this will work, see error section of post for the errors in installations.
When I installed Matlab on my laptop under Fedora 11 I had a number of problems that I think were caused by SELinux being active. I installed in /opt/Matlab2008b but when trying to run “matlab” or “matlab -nodesktop -nosplash” I got a bunch of funny permission errors and some umask 2 stuff which made no sense since the umask was fine. Eventually I rebooted, then tried to relaunch Matlab again from a shell. When I did, the SELinux notifier lit up. It told me Matlab was doing something “suspicious” and gave me a “fix” command to use if I trusted the process. I entered this command as root via copy and paste. After each fix I would attempt to run “matlab” again. When I ran out of errors and notifications (maybe 7?) Matlab ran fine. Incidetally, the installer created all the symbolic links just fine when I toggeled that option during installation.
Anyway. I found your site looking for help before that first reboot and wanted to post what I found here for any other Googlers out there.
Dear Ben Jackson,
We appreciate your efforts and we are thankful to you for posting such valuable comment. I usually disabled SElinux just after the installation of fedora. your comment will help many others
Keep sharing your exp.
Thanks and Regards
WirelessCafe Team
Estimados,
escribo desde Chile para agredecer sus post…
como soy nuevo, me aproblemo por cosas triviales,
agradezco a todos …
de verdad.. han salvado mi vida pues tengo prueba en matlab y no podia instalarlo
saludos
how to install matlab on kubuntu? step by step
Dear Vivek,
If you are using Matlab 2k9a then, go to the matlab folder or disc and run ./install , it will ask you for the directory where you want to install matlab.
Else the process for installing matlab for any distro is same as the one mentioned in the post. One more thing, for installing matlab you should have its unix/mac/linux edition.
you can also try octave or scilab, similar to matlab
Enjoy
hey i am using fedora 8… i want to install MATLAB R2009b … while runnung installer its showing this “SELinux is preventing /root/Laboratoire Matriciel 2009 for
Linux/update/bin/glnx86/xsetup from loading /root/Laboratoire Matriciel 2009
for Linux/update/bin/glnx86/libmwins.so which requires text relocation” could any one help me in this….
hello kishor,
there are two ways to install matlab with selinux, 1. keep reading the selinux messages and follow the steps to allow, 2. Disable selinux and then try to install .
Go through the comments section once, there is a comment regarding selinux, one of the reader shared his experience.
Hope this will work !
All the best !
thank u shankar…. how can i stay in touch with this site… can i be member of this….
Hello Kishor,
You can stay in touch with WirelessCafe by subscribing it through RSS feed, you can also join WirelessCafe group on Google Groups. You can also be a member of the writing team of WirelessCafe by writing posts. If you have any idea or want to write any post then drop a mail to WirelessCafe.
Cheers !!
WirelessCafe Team
shankar i downloaded “Laboratoire Matriciel 2009 for Linux”… i started normal installation with GUI it only asked for key not any license( i got LICENSE and KEY as crack)the GUI ended in saying “u may need to activate” after completing the installation ….. after this i went to folder where i installed MATLAB(root/MATLAB) where i had file “install_matlab” file which i think should b executed to install MATLAB… then i had another file “install_matlab.out” which seems to b a text file which has got the text snap shot of installation that will occur when we execute “install_matlab”…..
the problem i facing here is that am suppose to get this dialouge
A1. Create scripts in $MATLAB/bin directory
——————————————-
Creating $MATLAB/bin scripts . . .
Script Changed? Old Copy in bin/old
—— ——-
.matlab7rc.sh (Initial copy)
BUT AM GETTING
Script Changed? Old Copy in bin/old
—— ——-
.matlab7rc.sh NO
THE SAME THING HAPPENING WITH FOLLOWING FILE
A3. Install M-files in $MATLAB/toolbox/local directory
—————————————————–
Creating $MATLAB/toolbox/local M-files . . .
M-file Changed? Old Copy in
matlabrc.m (Initial copy)
BUT AM GETTING
-file Changed? Old Copy in
matlabrc.m NO
CAN U HELP ME IN THIS
Hello Kishor,
For installing matlab follow the steps given in the post. If necessary be a root and then try to install. By the way which version you are trying to install 2009a or 2009b ?
One more thing, when you will start installer it will give option – activate via internet or not , choose the offline mode
Just follow the steps or once read the read me file come along with crack
Cheers !!
its 2009a
Hello Kishor,
Have you tried the steps mentioned in the earlier comment ?
I think the problem lies with the fact that you had choosen online installation in the beginning try to make it offline.
Hey I have matlab in backup.. but i dont no how to mount it.. please tell me the way to mount it..
[root@localhost isoimage]# ./install* -t
Welcome to the MATLAB Installer
—————————————————————————
| Please review the license agreement on the next set of screens. On any |
| screen the options to proceed are at the bottom. Type your response |
| at the prompt. |
—————————————————————————
The MathWorks, Inc. [screen 1 of 90]
——————-
Software License Agreement
IMPORTANT NOTICE
THE LICENSE AGREEMENT TOGETHER WITH ANY APPLICABLE ADDENDUM REPRESENTS
THE ENTIRE AGREEMENT BETWEEN YOU (THE “LICENSEE”) AND THE MATHWORKS,
—————————————————————————-
>>>>>>>> For this License Agreement <<<<<<<<
Enter either: a r p ^C
To: [next screen] [accept] [reject] [print] [abort]
—————————————————————————-
a
/media/isoimage/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
I am getting the above error when trying to install matlab r2007a in fedora 11. Please help….
Hello Amarnath,
Try to go through the dependencies which are listed in post and comment section, Hope after installing those dependencies, your problem will get resolved and in the end please share your solution here.
Thanks and Regards,
Wireless Cafe Team !
I have installed the Matlab2009a using above procedure but while starting matlab terminal showing this error
usr/Matlab/bin/glnxa64/MATLAB: error while loading shared libraries: libut.so: cannot enable executable stack as shared object requires: Permission denied
please help me
Dear Sameer,
I think you are having problem with your SELinux if you are using a Fedora. Either disable selinux or check the notifications to enable it.
All the best.
WirelessCafe Team
I had the same problem with Sameer under Fedora.
How to disable selinux?
Hello,
Try this link go to point 4 on this page. You can also try graphical method, go to System > ADministration > SElinux… and click it. It will ask for root password, give it and in the three lines which the gui will show, set first as disable. now reboot.
All the best
WirelessCafeTeam !
Hi, I’ve mounted the ISO image (from a file, not CD) for the Matlab disk to /media/MATHWORKS_R2010A and have run sudo /media/MATHWORKS_R2010A/install from /opt/matlab.
The installer does nothing – it’s silent. There are no errors, or feedback of any kind. I’m not sure what’s going wrong. The best I can guess is that is has something to do with file permissions.
Thanks for your help!
Hello Perry,
I guess you are trying to install on Ubuntu, do two things first go to mounted folder and run ls -l to see that install is executable or not, and second run the install with sh i.e. sudo sh /med…..
Hope this will help and make us know.
All the best,
Ashwini Patankar for WirelessCafe Team !
Hi,
Yes, I am installing on Ubuntu 10.10.
ls -l gives me:
-r–r–r– 1 root root 3262 2009-07-24 14:06 activate.ini
-r-xr-xr-x 1 root root 43320 2010-01-18 16:18 install
dr-xr-xr-x 3 root root 2048 2010-01-30 00:51 InstallForMacOSX.app
-r–r–r– 1 root root 1110371 2010-01-15 17:32 inst_doc.pdf
-r–r–r– 1 root root 73937 2010-01-18 16:18 license.txt
-r–r–r– 1 root root 1615703 2010-01-15 17:32 mac_install_guide.pdf
-r–r–r– 1 root root 5839 2010-01-25 11:09 readme.txt
dr-xr-xr-x 6 root root 2048 2010-01-30 00:50 update
dr-xr-xr-x 3 root root 2048 2010-01-30 00:50 utils
so I “should” have execute permissions on “install” but I wonder about the other files.
Also, I have tried using sudo sh to run the installer. Same result with no feedback.
I am now mounting with the command:
sudo mount -t iso9660 -o loop,default /media/MATHWORKS_R2010A
I’ve given loop0 the permissions rwxrwxrwx using sudo chmod 777 /dev/loop0
Thanks!
An extra note to explain what I’m doing:
If I copy the install script to another folder, I can run it, but of course it can’t find the other files it needs. (note copying all files from the mounted folder fails. It says it can’t copy some files because of an input/output error.)
So basically I think I need to be able to change the permissions of all files in the mounted folder, but it does not let me do this. It says that it is a read-only file system. This was my reasoning for changing the permissions of the loop0 device . I also wanted to do this because the Matlab installation manual said to check the permissions of the cd drive device. Since I’m not actually using the cd drive, but a ISO image, I’m dealing with loop0.
I can’t imagine it HAS to be on an actual disk. There must be a way to set the permissions correctly.
Or of course if you have other ideas…
Thanks again.
Hello Perry,
I have not yet tried Matlab on Ubuntu 10.10. But as per the details, you can use an alternate way, right click the iso file and extract it instead of mounting it. say you are in /home/user/download then extract the iso in /home/user/download/matlab and then run the install file.
I hope this will work, normally I too encountered with problem of this read-only stuff with mounted usb or hard drive or memory cards.
All the best, Please make me know about the results.
Ashwini Patankar for WirelessCafe Team !
Yes, I’ve tried that also, but when I extract (using Archive Manager) it gives an error and says “isoinfo: Short read on old image.”
This is a fresh install of Ubuntu 10.10, so I should not have any messed up settings or anything.
Please let me know if you have any other ideas or if you recommend another program to extract the ISO with.
Thanks!
Hello Perry,
Let me give it a try and will make you know after few hours, mean while I think there is some problem with the archive manager , may be cant say. I will try and make you know.
Ashwini for WirelessCafe Team !
Great! So I’m assuming you’re going to try and install it the same way as I have been? (either by mounting an ISO file to the file system or by extracting the ISO to the file system with Archive Manager or some other program)
Hello Perry,
Machine Configuration: core i3, Ubuntu 10.10 64 bit, fresh install
Matlab : R2010a for linux /mac
Here is a log:
>>:/opt/matlab$ ls /media/Installations/ubuntu/mathwork/
matu20Xa matu20Xa.iso
>>:/opt/matlab$ ls /media/Installations/ubuntu/mathwork/matu20Xa
activate.ini install InstallForMacOSX.app inst_doc.pdf license.txt mac_install_guide.pdf readme.txt update utils
>>:/opt/matlab$ sudo . /media/Installations/ubuntu/mathwork/matu20Xa/install
sudo: .: command not found
>>:/opt/matlab$ sudo ./media/Installations/ubuntu/mathwork/matu20Xa/install
sudo: ./media/Installations/ubuntu/mathwork/matu20Xa/install: command not found
>>:/opt/matlab$ sudo sh /media/Installations/ubuntu/mathwork/matu20Xa/install
——————————————————————-
An error status was returned by the program ‘xsetup’,
the X Window System version of ‘install’. The following
messages were written to standard error:
/media/Installations/ubuntu/mathwork/matu20Xa/update/install/main.sh: 178: /media/Installations/ubuntu/mathwork/matu20Xa/update/bin/glnxa64/xsetup: Permission denied
Attempt to fix the problem and try again. If X is not available
or ‘xsetup’ cannot be made to work then try the terminal
version of ‘install’ using the command:
install* -t or INSTALL* -t
——————————————————————-
Sorry! Setup aborted . . .
>>:/opt/matlab$
To resolve the error I will have to install the dependecies mentioned in the blog post. Are you getting this much of output on your screen? I mounted one of my partition named Installation , in that ntfs partition I extracted the iso by right clicking and then I run the install file. It should give some output, else wait for a while, let the installer get started, some times it takes time.
Please make me know with some log.
All the best,
Ashwini for WirelessCafe Team !
Why don’t you try installing by using the -t flag then? Also, to answer your question, about how much output I’m getting on my screen, the answer is absolutely zero. It instantly returns to the command prompt.
Dear Perry,
I do not want to install matlab on my ubuntu , that is why I didnt tried with -t flag, I got this error earlier also and by installing the dependencies mentioned in the blog post, I resolved that.
As far as your problem is concerned, I think you have messed up with the X type of files, or dependencies by installing additional resources , so try to give a fresh try or else try to install on fedora , I am a hard core fedora user and I found fedora better because you rarely need to install any additional dependencies, most of the time it fulfill your development requirements.
If you will come across any solution, like on matlab forum (mathwork is having one) then please mention the solution here, it will help many others.
Thanks and Regards,
Ashwini Patankar for WirelessCafe !
Dear Perry,
Any solution you got for your problem ??
Thanks and Regards,
Ashwini for WirelessCafe Team
hello
i’ve downloaded MATLAB 2010b through torrent to UBNTU 10.10 x64
it was an ISO , so i extracted it on the hard drive
i tried to run ./install after modifying some permissions
its result is:
Preparing installation files …
Installing …
Finished
and no GUI installation start !!!
and nothing happens then!!
what is the problem??
thank you
Hello Bishoy,
When I had given a try to this, I too faced the same problem, but on my friend’s machine after installing some other applications, when i tried it worked fine, may be the problem is because of some X11 dependencies or because of some X-related. Do one thing, install gnome-do or docky like applications and then give a try. As this applications will install the necessary dependencies, may be these dependencies will fix the matlab error.
Please make use know, what you installed .
thanks and regards,
Ashwini for WirelessCafe !
hey
i installed gnome do , but it didnot solve the problem!
any other idea??
hey,
i’ve installed Gnome do , but it didnot solve the problem!
any other idea??
Hello Bishoy,
Another hit and trail:
try to install this : libx11
hope fully this will be the solution. If this fail to solve the problem then try with libcairo2.
Just make us updated about it.
Thanks and Regards,
Ashwini for WirelessCafe !
the two libraries are already installed !
and still the same problem happens
Disabling SELinux when installing MATLAB on Fedora 14 fixed the problem for me. I re-enabled it after installation.
Dear Bushrod,
Thanks,
Ashwini for WirelessCafe !
Hello
i’m on ubuntu 10.10 , and i can’t install matlab 2010b
it just gives:
Preparing installation files…….
installing……..
finished
and nothing happened , i tried all wat u did :S:S
Dear Bishoy,
Wait for a day, I will have to dig this problem seriously. If you will get a solution then please make us know.
Thanks and Regards,
Ashwini Patankar for Wireless Cafe !
Thanks alot
Pingback: 2010 in review « Wirelesscafe
hey
i’ve downloaded and installed R2010a , and it worked fine
thnak you !!
Bishoy,
any details please about dependencies ???
Thanks and Regards,
Ashwini for WirelessCafe !!
no,it just worked and gave no errors !
and started after installation
ubuntu 10.10 64bit
hello I am in fedora 14 i want install matlab2010.iso but I recive this error:
An error status was returned by the program ‘xsetup’,
the X Window System version of ‘install’. The following
messages were written to standard error:
/mnt/disk/update/bin/glnx86/xsetup: error while loading shared libraries: libmwins.so: cannot enable executable stack as shared object requires: Permission denied
Attempt to fix the problem and try again. If X is not available
or ‘xsetup’ cannot be made to work then try the terminal
version of ‘install’ using the command:
install* -t or INSTALL* -t
——————————————————————-
Sorry! Setup aborted . . .
can you help me?
many many thanks
Esmaeil,
cross check the selinux, disable it for once, and then try running the setup, I think this may be a reason, second reason: may be the extracted matlab iso lies in a partition which is not mounted in executable mode
Try with these and make me know, I am also running matlab in fedora 14 , but havent faced such problem.
Thanks and Regards,
Ashwini for WirelessCafe !
i think that xsetup is not set to be executable , and also try to write install* -t or INSTALL* -t instead of install
Hi ashwini
many many thanks for your helps
I disabled SElinux then install matlab whit any error.
best regards
Esmaeil
hi im a new user of ubuntu……………….
it s nightmare for me 2 instal maylab in ubuntu 10.04
whether i hav to know terminal commands for installing matlab
is ther any video tutorial for dis yar?
if itz der means pls giv dat web address yar
thanks in advance……………….
hi ashwin……………………………..
im having matlab software in pendrive…………….
mounting na wat? plz help me……………………….. matlab installation s different in diff website…………
im having poor knowleedge in mounting so plz help
Karthick,
Making and uploading a video on Youtube.
also, please specify your distribution ? means what OS.
Thanks and Regards,
Ashwini for WirelessCafe !
hello
i am also using ubuntu 10.10 and trying to install matlab 2010a
i am able to run the installer but when it runs upto 40 % it gives an error in system test that there is a problem of permissions
i dont understand what to do about it
best regards
Hello Salman,
Try “sudo” , or else copy paste the errors here.
All the best ,
Ashwini for WirelessCafe !!
Thanks Ashwini !
i figured the problem …
it was the installer which is corrupted ….
really grateful for your time
Best Regards
Hi,
I tried to install Matlab R2011a in Ubuntu 10.04 from iso image. The installation has been succeeded, but it failed at activation. My installation steps are as following:
$ sudo mount -o loop -t iso9660 matlab2011a.iso /cdrom/
$ sudo sh /cdrom/instsall
The above commands successfully install the Matlab R2011a in my Ubuntu 10.04. Then I choose “Activate manually without the Internet”. However it just shows a blank screen and stops there. I also tried to manually activate it by typing “./activate_matlab.sh” or “./matlab” in the Matlab installation directory, but I got the same phenomenon. Does anybody know what’s wrong with me and how can I solve the problem?
Thanks in advance for your kind help.
Would you please post my question so that people can help me? Thanks.
Dear Larry,
Sorry for the late approval and reply. have you tried with installing libXp ??
Thanks and Regards,
Ashwini for WirelessCafe !!
Ashwini,
Thanks for your reply. Is libXp also ibxp6 (X Printing Extension client library)? If yes, it’s already been installed.
Thanks,
Larry
Dear Larry,
On my machine (F15) it is libXp.x86_64 : X.Org X11 libXp runtime library
all the best,
Ashwini for WirelessCafe !!
Dear Ashwini,
I’m trying to install matlabr2011a on ubuntu 11.04. I use the command
>>sudo sh install
and I get a the error bellow:
——–
Preparing installation files …
Installing …
eval: 1: /tmp/mathworks_10545/java/jre/glnxa64/jre/bin/java: Permission denied
Finished
——–
also I tried to install matlabr2009b on ubuntu 11.04 and got xsetup error below:
——
An error status was returned by the program ‘xsetup’,
the X Window System version of ‘install’. The following
messages were written to standard error:
/home/neverhood/Desktop/MATLAB_2009b_for_Linux/UDS_Mathworks.Matlab.R2009b.UNIX.MAC.ISO-TBE/matum2k9b/update/install/main.sh: 178: /home/neverhood/Desktop/MATLAB_2009b_for_Linux/UDS_Mathworks.Matlab.R2009b.UNIX.MAC.ISO-TBE/matum2k9b/update/bin/glnxa64/xsetup: Permission denied
Attempt to fix the problem and try again. If X is not available
or ‘xsetup’ cannot be made to work then try the terminal
version of ‘install’ using the command:
install* -t or INSTALL* -t
—-
when I try install* -t , in gives me xsetup error again
please help with any of these issues you can
thnx
Dear Behnam,
for first error, go to matlab directory and run “chmod +x -R *” , the file is not having executable permissions, that is why it is throwing the error.
for second error, read the blog post once again till the end, there are some updates mentioned in the end regarding errors.
All the best,
Ashwini for WirelessCafe !!
Thanks for this! It’s helped me out setting up the application icon under applications in Fedora
You said “for first error, go to matlab directory and run “chmod +x -R *” , the file is not having executable permissions, that is why it is throwing the error.”
I am facing the same error…
I went into the directory where the setup was
and typed chmod +x -R*, it didn’t work
It said
chmod: invalid option – - ‘*’
Try ‘chmod –help’ for more information.
Could you please guide me?
please let me know…
Dear Programmerpro,
You forget to put a space, the command is chmod +x -R * i.e. chmod[space]+x[space]-R[space]*
All the best,
Ashwini for WirelessCafe !!
OH!…
ok I did it properly with the spaces just now.. I’m still getting the same problem.. ecal: 1: /tmp/mathworks_XXXX/java/jre/glnx86/jre/bin/java: Permission denied
the XXXX keeps changing each time I try to run it…
Hi I’ve been reading all comments, still can’t find solution … I am on Ubuntu 11.10 trying to install matlab 2011a ….
I run sudo ./install and a lot of input/output errors appear at the terminal …. finally it says Installing …. Finished.
by the way I have no SElinux installed….
this problem also ahppend on previous version of Ubuntu 11.04
Any other idea???
Thanks for the support!
how to install matlab in ubuntu 11.04 … please visit http://vkmtvm.blogspot.com ….
hi
i downloaded matlab 2011 for unix/linux and when i’m trying to run install this error appears:
6) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at com.mathworks.wizard.ui.laf.UIDefaultsTableImpl.(UIDefaultsTableImpl.java:17)
while locating com.mathworks.wizard.ui.laf.UIDefaultsTableImpl
while locating com.mathworks.wizard.ui.laf.UIDefaultsTable
at com.mathworks.wizard.ui.laf.LookAndFeelModule.provideUIProperties(LookAndFeelModule.java:37)
while locating com.mathworks.wizard.ui.laf.UIProperties
for parameter 3 at com.mathworks.wizard.ui.WizardUIImpl.(WizardUIImpl.java:65)
while locating com.mathworks.wizard.ui.WizardUIImpl
while locating com.mathworks.wizard.ui.WizardUI annotated with @com.google.inject.name.Named(value=BaseWizardUI)
at com.mathworks.wizard.ui.UIModule.provideWizardUI(UIModule.java:50)
while locating com.mathworks.wizard.ui.WizardUI
for parameter 0 at com.mathworks.wizard.ExceptionHandlerImpl.(ExceptionHandlerImpl.java:22)
while locating com.mathworks.wizard.ExceptionHandlerImpl
while locating com.mathworks.wizard.ExceptionHandler
Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(Unknown Source)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(Unknown Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(Unknown Source)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at com.mathworks.wizard.ui.laf.UIDefaultsTableImpl.(UIDefaultsTableImpl.java:20)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.google.inject.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:81)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:160)
at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:75)
at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)
at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18)
at com.mathworks.installwizard.Launcher.main(Launcher.java:19)
6 errors
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:767)
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:160)
at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:75)
at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)
at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18)
at com.mathworks.installwizard.Launcher.main(Launcher.java:19)
Dear Hojjat,
May be the error is due to version of Java.
all the best,
Ashwini for WirelessCafe !!
Dear Hil JK,
Kindly post the errors.
All the Best,
Ashwini for WirelessCafe !!
Dear Programmerpro,
restart from scratch and cross check java once.
All the best,
Ashwini for WirelessCafe !!
I try to install matlab2011a on fedora15, but i had a problem it said no sush file or directory.I followed all the steps but it still the same error
Dear Sofiane,
I think you installed without root access or with wrong path.
All the best,
Ashwini for WirelesCafe !!
Pingback: MATLAB Installation