that this version number of Ubuntu comes with a jdk.) It's just that. I did it myself once, because the path I didn't know where I came from., or you can put it on your own again)3. Enter the directory under--CD/USR/LIB/JVM;4. Unpack this package-----sudo tar-zxvf jdk-7u45-linux-i586.tar.gz do not write another path, is to extract directly to the current folder。 Suppose you want to unzip to another folder and add it later (assuming you need permission to unzip it). Enter sudo-s and enter your l
(where bytecode files are stored) can have multiple, middle use: separate spacesPATH = Execution file location of the compilation run (Java Javac, etc.)Jre_home = location of the core jar packageE:1 export java_home=/usr/lib/jvm/2 export jre_home=${java_home}/3 Export classpath=.:${java_home}/lib:${jre_home}/4 export path=${java_home}/bin: $PATHView CodeExecute the source ~/.BASHRC to complete the modification4. Configure the default JDK versionFor multiple versions, or JDK versions installed b
First step: Download jdk-7u79-linux-x64.tar.gz
Wget-c http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz
(Note: If the download is not down, it is recommended to use Thunderbolt download, and then copied to the Linux system.) )Step Two: Unzip the installation
sudo tar zxvf jdk-7u79-linux-x64.tar.gz
Cd/usr/lib/jvm
Step Three: Modify environment variables
Vim ~/.BASHRC
Add to:
Export java_home=/usr/lib/jvm/jdk1.7.0_79
-linux-x64.tar.gz -c/usr/local/java
cd/usr/local/java
sudo mv jdk1.7.0_80 jdk1.7.0
3. Configure Environment Variables
VI ~/.bash_profile
Add at the end of an open file
# Export Java env
export java_home=/usr/local/java/jdk1.7.0
export JRE_HOME=/USR/LOCAL/JAVA/JDK1.7.0/JRE
Export Classpath=.:%java_home%/lib/dt.jar:%java_home%/lib/tools.jar
export path= $JAVA _home/bin: $JRE _ Home/bin: $PATH
Save the exit and enter the following command to make it effective
SOURCE ~/.bash_profile
4. Confi
/index.html
Download Java SE 6 Update 33, A jdk-6u33-linux-i586.bin-format file, about 68 MB.
STEP 2: Install JDK 6
1. Add execution permissions for jdk-6u33-linux-i586.bin
Chmod u + x/usr/lib/jvm/java/jdk-6u33-linux-i586.bin
2. Execute the jdk-6u33-linux-i586.bin and unpack the related files of JDK 6 to the directory of JDK 1.6.0 _ 33.
/Jdk-6u33-linux-i586.bin
3. Copy jdk1.6.0 _ 33 to/usr/lib.
Mkdir-p/usr/lib/jvm/
Cp-r jdk1.6.0 _ 33/usr/lib/jvm/jdk1.6.0 _ 33
4. Install JDK 6
There are many exec
Install jdk1.7 tomcat7 mysql5.6 on CentOS 6.0
1. pre
To facilitate the management of installed software, you need to create a dedicated directoryCd ~ Mkdirdata # diskcddatamkdirsoftware # software installation location mkdirtar_box # tar package storage location
2. setup jdk
Use wget to install jdk. Select jdk 7 as the installation source.
#cd/data/software
#wget--no-cookies--no-check-certificate--header"Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F;oraclelicense=accept-securebackup-cookie""htt
Jdkhttp: // response
Jdk http://download.Oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz.
I installed jdk in/opt/java, so the following code is executed in the Terminal window:
Sudo mkdir/opt/java
Sudo tarzxvf jdk-7-linux-i586.tar.gz-C/opt/java
1. Open/etc/environment in the editor.
Gedit/etc/environment
2. Modify the file
PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: usr/games: $ {JAVA_HOME}/bin"
JAVA_HOME =/opt/java/jdk1.7.0
JRE_HOME =$ {JAVA_HOME}/jre
Step 1: Download jdk-7-linux-i586.tar.gz
[Plain]
View plaincopy
Http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz wget-c
(Note: If the download fails, we recommend that you use thunder to download it and copy it to the Linux system .)Step 2: unzip and install
[Plain]
View plaincopy
Sudo tar zxvf./jdk-7-linux-i586.tar.gz-C/usr/lib/jvm
Cd/usr/lib/jvm
Sudo mv jdk1.7.0/java-7-sun
Step 3: Modify Environment Variables
[Plain]
View plaincopy
Vim ~ /. Bashrc
Add:[Plain]
Much has been said about how ungodly expensive Windows Vista is going to be, but what is it really worth? While software is rarely priced based on what it actually
Does , I figured I 'd take a unique approach toward figuring out the real value of Vista, with a feature-by-feature analysis of how much the upgrades are worth to the user. are there other ways to get the same features? How Much Do alternatives cost? Here's my blow by blow Analysis of Vist
following lines to the file:
Java_home = opt/jdk1.6.0 _ 07Classpath = $ java_home/lib :.Path = $ path: $ java_home/binExport java_home classpath path
Save and exit. Run the following command:
[Root @ localhost etc] source/etc/profile
This allows the configuration to take effect without restarting the computer.
3) change the default JVMNow you need to run the alternatives command to instruct fedora to recognize Sun's JVM.
[Root @ localhost
Http://deeplearning.net/software/theano/install_ubuntu.html#install-ubuntuThe above link is the official website installs the tutorialInstalling Theano in Ubuntu is a lot easier to install on Windows.If you are an Ubuntu 16.04 systemThe installation process is as follows:sudo apt-GetInstall python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-Dev gitsudo pip install theano# cuda7.5Don'T support the default g++ version. Install an supported version and make it the default.s
for Linux1.4 TensorFlow 0.11TensorFlow GitHub above mentioned 4 kinds of installation methods, this tutorial using the four source code installationVIRTUALENV InstallationAnaconda InstallationDocker InstallationInstalling from sourcesHttps://github.com/tensorflow/tensorflow ()Description: I chose the Linux GPU Python2(2) Click Python 2 to start the download.2. Installing the ubuntu16.04 LTS systemFor details, please see the previous Notes Windows System installation Ubuntu dual system3. Install
is where my software is stored and can be stored in/user/lib/in3: Configured as default JDK version sudo update-alternatives--install/usr/bin/java Java/home/share/tools/jdk1.8.0_45/bin/java -sudo update-alternatives--install/usr/bin/javac Javac/home/share/tools/jdk1.8.0_45/bin/javac -What this means is to create two soft connections: [email protected]:~$ ll/usr/bin/Java lrwxrwxrwx1Root root A -- to- A +:
Ubuntu 16.04 itself is a python, and he's a 2-self. X and 3.X, two versions, the default is 2. X. Here's a note of how to switch between versions and how to switch the Python version to 3. The method under X.
1. View the installed Python version of the Ubuntu system and the Python version currently in use
Ls/usr/bin/python*python--version
Or
2. Set update-alternatives switch python version
Show Python instead of version information
Update-
use the source command to make it effective source ~/. Profile2.4 Change the default JDK version to see the Java version and priority of the system installedsudo update-Alternatives--dispaly Javathe system is installed by default only OPEN-JDK, and the priority is 1051, set a higher priority to Oracle's JDK, such as 1200, in the terminal window to execute the following command:sudo update-Alternatives--
format for installing Java 6 is as follows:
Java 6 (for Android 2.1 + ):
$ Sudo add-Apt-repository "Deb http://archive.canonical.com/lucid partner"
$ Sudo add-Apt-repository "Deb-Src http://archive.canonical.com/ubuntu lucid partner"
$ Sudo apt-Get update
$ Sudo apt-Get install sun-java6-jdk
If you want to switch to the Java version (when multiple Java versions are installed), enter the following command:
Sudo Update-alternatives -- config Java
Sudo
As we all know, GCC does not support "make Uninstall ". A recommended installation method is to install GCC in a path you specify. When you do not need a GCC version number, you only need to remove the corresponding version number.
If you already have an old version number in your system, the simplest method is:
1) join? Personal package archive in the repositories
2. repositoris)
3) upgrade procedure
sudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get updateJoin? New Ppa (peronal
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.