Alibabacloud.com offers a wide variety of articles about best shopify alternatives, easily find your best shopify alternatives information here online.
corresponding JDK, and put it in:/var/cache/oracle-jdk7-installer (JDK7)/var/cache/oracle-jdk8-installer (JDK8)Below, and then install the installer once. Installer will use the TAR.GZ package you downloaded by default3. Set the system default JDKJDk7sudo update-java-alternatives-s java-7-oracleJDK8sudo update-java-alternatives-s java-8-oracleIf the JDK7 is installed and the JDK8 is installed, to switch be
installer because of a firewall or some other reason, you can interrupt the operation. then download the corresponding JDK tar.gz package, put in:
/var/cache/oracle-jdk7-installer (JDK7)
/var/cache/oracle-jdk8-installer (JDK8)
Below, and then install the installer once. Installer will default to use the tar.gz package you downloaded 3. Set system default JDK
JDk7
sudo update-java-alternatives-s java-7-oracle
JDK8
sudo update-java-
1: Installed through the PPA (source) mode.
2: Download the installation package through the official website.
1th is recommended here because the JDK upgrade can be easily obtained by Apt-get upgrade method. install using the ppa/source method Add PPA
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
Install Oracle-java-installer
Jdk7:
sudo apt-get install oracle-java7-installer
jdk8:
sudo apt-get install Oracle-java8-installer
The installer will prompt you to agree to Oracle
individual)If you cause installer to download slowly due to firewalls or other reasons, you can interrupt the operation. Then download the tar.gz package for the corresponding JDK, and put it in:/var/cache/oracle-jdk7-installer (JDK7)/var/cache/oracle-jdk8-installer (JDK8)Below, and then install the installer once. Installer will use the TAR.GZ package you downloaded by default3. Set the system default JDKJDk7sudo update-java-alternatives-s java-7-or
..Lrwxrwxrwx. 1 root 16 Oct 13 default->/usr/java/latestDrwxr-xr-x. 9 root 4096 Oct 13 jdk1.8.0 _ 20Lrwxrwxrwx. 1 root 21 Oct 13 latest->/usr/java/jdk1.8.0 _ 20
However, it is not actually used so far. We need to use the alternative tool to manage it.
For soft links, if we direct the configuration content to/usr/java/default/bin/xxx and install jdk 1.9 or 2.0 in the future, you just need to directly modify the soft link, instead of having to do it again. therefore, I will use/usr/java/default/a
Recently installed in Ubuntu16.04 python3.5 and the system comes with the python2.7.13, summarize the different versions of the switching problem.
Alias: Aliases
BASHRC: Personal Profile
First, modify the Python version (for users)To modify a Python version for a particular user, simply create one (alias) in its home directory alias . Open the user's ~/.bashrc file and add the new alias information to modify the Python version that is used by default.Alias python= '/usr/bin/pyt
the TAR.GZ package you downloaded by default3. Set the system default JDKJDK8sudo update-java-alternatives-s java-8-oracleIf the JDK7 is installed and the JDK8 is installed, to switch between the two, you can:JDK8 Switch to Jdk7sudo update-java-alternatives-s java-7-oracleJDK7 Switch to Jdk8sudo update-java-alternatives-s java-8-oracle4. Test whether the JDK was
ubuntu 16.04本身是自带python的,他本身是自带2.X和3.X,两个版本,默认的是2.X。这里记录一下如果在版本间切换以及如何把python版本切换到3.X下的方法。1. See the version of Python installed in Ubuntu and the Python version currently in useLs/usr/bin/python*python--version2. Set Update-alternatives to toggle Python versionShow python in place of version informationUpdate-alternatives--list pythonShow after executionUpdate-alternatives:error:no
First install sun1.6, here I install the directory is/usr/java/jdk1.6.0_45
Then set the profile file/etc/profile (add the file at the end of the file)
sudo vim/etc/profile
Export java_home=/usr/java/jdk1.6.0_45
export jre_home=/usr/java/jdk1.6.0_45/jre
export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
export path= $PATH: $JAVA _home/bin
Source/etc/profile
Then install openjdk1.7, you can install it in Software Center, and then execute the following command after installat
Tags: ons file permissions maintenance Ali awt install Oracle ISP download systemDeepin System Manual Installation Oracle Jdk8 detailed tutorialsDownload the JDK archive from Oracle website and extract the files using sudo tar-zxf jdk***, which I placed under the HOME/DIY/JAVA/JDK path.JDK file path:/home/diy/java/jdk/jdk1.8.0_152JDK environment variable ConfigurationModifying a configuration filesudo vi/etc/profileAfter entering, knock on I, then you can edit the content.Add content at the end
1. Install NVIDIA Drive./nvidia-linux-x86_64-384.69.runNvidia-smi success indicates driver OK2. Installing CudaDpkg-i Cuda-repo-ubuntu1404-8-0-local-ga2_8.0.61-1_amd64.debApt-get UpdateApt-get Install CudaInstall PATCH2 (can also not be installed) Dpkg-i Cuda-repo-ubuntu1404-8-0-local-cublas-performance-update_8.0.61-1_amd64.deb3. Reduce the GCC version to less than 5.0 (ubuntu-14 not required because it is already gcc-4.8.4,ubuntu-16)sudo apt-get install g++-4.9sudo update-
,Then enter in the above type to search: Additional drivers Open "Additional drivers--additional Driver" and select the NVIDIA driver that matches your graphics card, and here I amUsing Nvidia binary drivers (375)Then choose Apply Changes, where the installation may fail, at which point you can continue to choose to apply the changes, install multiple timesWhen the installation is complete, select restart4. GCC down versionCUDA8.0 does not support GCC 5.0 and above compilers, and the system come
Ubuntu 14 Installation Jdk7: Official website Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlSelect Accept license and choose the JDK download that suits your model.1. unzip the downloaded JDK file: [email protected]:~$ lsWorkspace public template video picture document download music Desktop[Email protected]:~$ cd Download$ sudo mkdir/usr/lib/jvm$ sudo tar-zxvf jdk-7u55-linux-i586.tar.gz-c/USR/LIB/JVM2. Configure environment variables belowCommand
:OpenJDKSourceBundleldapjdk.x86_64:TheMozillaLDAPJavaSDK
2. Select a version to installWe install the 1.7 version here
1
[[emailprotected]~]#yuminstalljava-1.7.0-openjdk
After the installation is complete, the default installation directory is:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_643. Setting Environment variables
1
[[emailprotected]~]#vi/etc/profile
Add the following content:
123456
#setjavaenvir
Phenomenon:---------------------------------[ERROR] Failure executing Javac, but could not parse the error:Javac:invalid Target release:1.8Usage:javac Use-help for a list of possible option---------------------------------The survey found that:[Email protected] ~]# java-versionOPENJDK Version "1.8.0_65"OpenJDK Runtime Environment (build 1.8.0_65-b17)OpenJDK 64-bit Server VM (build 25.65-b01, Mixed mode)[Email protected] ~]# javac-versionJavac 1.7.0_111that is, Java is inconsistent with the Javac
First, install the Java SE JKDA, download Http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=ocomen Select the latest version, the current latest version 1.8.0. Download jdk-8u45-linux-x64.tar.gz.B, unzip the download package, add environment variables.$ sudo vim ~/.BASHRCAdd at the end of the documentExport Java_home=/home/jeremy/jdk1.8.0export jre_home=${java_home}/jre export classpath=.:${java_home}/lib:${ Jre_home}/lib export Path=${java_home}/bin: $PATH It
-cookie "" http://download.oracle.com/otn-pub/java/jdk/8u111-b14/ jdk-8u111-linux-i586.tar.gz "# tar Xzf jdk-8u111-linux-i586.tar.gzNote: If Above wget command does not work for your watch this example video to download Java source archive using terminal.Install Java with alternativesAfter extracting archive file with Alternatives command to install it. Alternatives command is available in the chkconfig pac
Compile the Android 4.4.2 source code
In the previous article, I shared with you the process of downloading the android 4.4.2 source code in the sky (see the whole process of downloading the android4.4.2 source code (with the downloaded source code). Now I will write down the compilation notes.
Installing the JDK
The master branch of Android in the Android Open Source Project (AOSP) requires Java 7. On Ubuntu, use OpenJDK.
Java 7: For the latest version of Android
$ sudo apt-get update$ sudo
Build a Python development environment in Ubuntu 13.10:
Step 1 install JDK (to install eclipse ide)
Decompress the installation package and set JDK.
The update-alternatives -- install option feature adds a new set of system command links.
Tar-zxvf jdk-7u45-linux-x64.tar.gzSudo mkdir-p/usr/lib/jvmSudo mv./jdk1.7.0 _ 45/usr/lib/jvm/jdk1.7.0Sudo update-alternatives -- install "/usr/bin/java" "java" "/usr/lib/j
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.