[Odroid-pc] ubuntu12.04 jdk-6u45-linux-x64.bin, jdk6u45linuxx64
1. Download jdk-6u45-linux-x64.bin.tar .**
2) Put it in a directory and decompress it.
3) execute the following command
Chmod + x jdk-6u45-linux-x64.bin
/Jdk-6u45-linux-x64.bin
Mkdir-p/usr/lib/jvmMv jdk1.6.0 _ 45/usr/lib/jvm
Update-alternatives -- install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0 _ 45/bin/java" 1Update-alternatives -- insta
-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list python update-alternatives:error:no alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list pythonUpdate-alternatives:error:no Alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
the installation process:Errors were encountered while processing:Libc6-dev:i386E:sub-process/usr/bin/dpkg returned an error code (1)Here's how to fix it:$ sudo apt-get install linux-libc-dev:i386$ sudo apt-get install libc6-dev:i386At this point, even if the build environment is complete, at least on my computer, so we can start to download the Android code to compile.Final installation Ia32-libs$ sudo apt-get install Ia32-libsUbuntu 14.04 x64 Configuring the Android 4.4 KitKat compilation env
to take effect.
$ . ~/.bashrc
Check the current Python version.
$ python--version
Python 3.4.2
2. Modify the Python version at the system levelWe can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:
# update-alternatives--list python
Update-alternatives
In Ubuntu, if you have more than one Java version installed (sometimes some software installs itself), how can you easily switch? In addition to the common settings environment variables, today learned a new way to switch:Update-alternatives--config JavaUpdate-alternatives--config JavacAlso, how to install your own Java version:sudo update-alternatives--install/u
When you install Debian Linux, the installation process may also provide you with multiple Python versions available, so there will be multiple Python executable binaries in the system. You can use the LS command to see that Python binaries are available in your system as follows.
$ ls/usr/bin/python*
/usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 / usr/bin/python3.4 /usr/bin/python3.4m /usr/bin/python3m
Perform the following command to view the default Python vers
If there is more than one Java version installed (sometimes some software installed itself), how to easily switch it. In addition to the common settings environment variables, today learned a new way to switch:Update-alternatives--config JavaUpdate-alternatives--config JavacAlso, how to install your own Java version:sudo update-alternatives--install/usr/bin/java
kinds of links: Hard link (hard link) and soft link (also known as symbolic link, that is, soft link or symbolic link). Links for Linux systems to solve the shared use of files, but also brings the hidden file path, increase the security of permissions and save storage, and other benefits. If an inode number corresponds to multiple file names, these files are referred to as hard links. In other words, a hard link is one file that uses multiple aliases (the following figure hard link is an alias
You can use the LS command to see that Python binaries are available in your system as follows.
$ ls/usr/bin/python*
/usr/bin/python/usr/bin/python2/usr/bin/python2.7/usr/bin/python3/usr/bin/python3.4/ usr/bin/python3.4m/usr/bin/python3m
Perform the following command to view the default Python version information:
$ python--version
python 2.7.8
1. Modify Python version based on User:
To modify the Python version for a particular user, simply create an alias (alias) und
Tags: des style http color java using OS StrongRecently need to do JSP project, deployed in Ubuntu, the weekend time to configure the Nginx + PHP + mysql + phpmyadmin + tomcat environment, from the Windows C # turn around, how much some do not adapt, estimated to go the whole stack direction. By the way, the introduction of the configuration method, complete under the console. 1.1 Common
Start Terminal
Ctrl+alt+t
Using the root user
Sudo–sh
View process
Programmer recruitment-strength is everythingGuideThe admission of Wall Street programmers will not simply focus on the high degree of graduation students. It focuses on personal strength. Excellent programmers are generally self-taught, and many of them may be college students. The world's banking industry needs 0.5 million of technical staff, as the number of employees reduced needs to replace 10% each year. JP Morgan has 40 thousand technicians who need to hire thousands of people each year t
interesting thing about the Hackerrank site is that the challenges they offer are highly correlated with AI technology--not only a cool development direction, but also a good platform for high-ranking programmers. The Hackerrank website has the combinator of Y and Svangel and other companies as sponsors. In a word, friends who have confidence in their personal level must not be missed.Codewars obviously fo
The process of compiling Android source code refer to the Android website:1, download the Android source code step: https://source.android.com/source/downloading.html2, compile the Android source code step: https://source.android.com/source/building-running.htmlHere are some of the problems I have encountered:1. JDK-related error when Compile Android Source:Error 1:target release 1.5 conflicts with default source release 1.7 Workaround: Best use JDK for 1.6.0.45 version error 2:[ Out/target/com
environment variables, not to list them one by one)Ubuntu may have a default JDK, such as openjdk. If openjdk is available, we need to perform the following work to make JDK installed by default. 3. Configure JDK software:
Code:Sudo Update-alternatives -- install/usr/bin/javac/usr/local/jdk1.6.0 _ 31/bin/javac 1071Sudo Update-alternatives -- install/usr/bin/Java/usr/local/jdk1.6.0 _ 31/bin/Java 1071Update-
of sun?
Google found that the original RedHat is far less troublesome than the win system. There is an alternative system (Alternatives System) mechanism in RedHat to abstract the locations and trademarks of different software or different versions of the same software, so as to eliminate the need to replace the environment. Update-alternatives is the implementation of this mechanism. Therefore, you can us
Finally, the complete implementation of C ++ 11 GCC 4.8.1.
Upgrade your system.
The following steps install gcc4.8.1 with content from: http://askubuntu.com/questions/312620/how-do-i-install-gcc-4-8-1-on-ubuntu-13-04
First install a software
apt-get install python-software-properties
Then
sudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get updatesudo update-alternatives --remove-all gcc sudo update-al
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-oracleJDK8sudo update-java-alternatives-s java-8-oracleIf the J
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
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.