set superuser in ubuntu: sudo passwd
move taskbar to bottom: gsettings set com.canonical.Unity.Launcher launcher-position Bottom
set shortcut on ubuntu:
close window: shift+ctrl+J
minimize window: shift+ctrl+M
sudo apt-get update
sudo apt-get -y upgrade
edit the file: ~/.bashrc
# set jdk env:
export JAVA_HOME=/home/groot/Videos/jdk_7_jdk/jdk1.7.0_79
export JRE_HOME={JAVA_HOME}/jre
export PATH=${JAVA_HOME}/bin:$PATH
source ~/.bashrc
terminal: java, javac
set jdk version:
sudo update-alternatives --install /usr/bin/java java /home/groot/Videos/jdk_7_jdk/jdk1.7.0_79/bin/java 500
sudo update-alternatives --config java
after this, you can start eclipse.
时间: 2024-11-24 16:10:18