2012年12月28日 星期五

MATLAB in Ubuntu:


http://www.mathworks.com/support/solutions/en/data/1-F68FSA/index.html?solution=1-F68FSA


Subject:
Why do I get a libc.so.6: not found error when launching MATLAB in Ubuntu?

Problem Description:
I get the following error when I run MATLAB in Ubuntu:


/usr/local/MATLAB/R2011a/bin/util/oscheck.sh: 605: /lib/libc.so.6: not found

Solution:

To resolve this problem, open a Terminal window and use the commands below depending on your OS architecture:

For 64-bit Ubuntu:




sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6


For 32-bit Ubuntu:


sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6

2012年12月22日 星期六

install oracle sun java on uvuntu 12.04

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
java -version
update-alternatives --config java
update-alternatives --config javac
java -version