install openjdk-7-jdk
Sudo update-alternatives -- config java
Sudo update-alternatives -- config javac
Each of the preceding commands must be executed separately to obtain jdk 1.7 and set environment variables. After Ubuntu is installed, a jdk may be provided. However, if you use the built-in jdk to compile the Android source code, it is likely that the jdk version does not meet the requirements, so we nee
the following command in turn:sudo apt-get updatesudo apt-get install OPENJDK-7-JDKsudo update-alternatives--config javasudo update-alternatives--config javacEach of the above commands must be executed separately in order to obtain the 1.7 version of the JDK and set the environment variables. We may bring a JDK after we install Ubuntu, but if we compile the Android source with our own JDK it is likely that
------------------------------------------------------------*0/usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 Auto Mode1/opt/jdk1.6.0_26/bin/java Manual Mode2/usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 Manual ModePress ENTER to keep thecurrent choice[*], or type selection number:1Update-alternatives:using/opt/jdk1.6.0_26/bin/java to Provide/usr/bin/java (Java) in Manualmode.* Indicates the current default J
JDK 7 instead of the latest JDK 8. Otherwise, the compilation will fail and the OpenJDK that comes with the system will not be used. Be sure to configure the environment variables so that the default Java environment is JDK 7, be sure to run the "java-version" command to confirm it.] Ant 1.9.4
[Ubuntu official source Ant version 1.9.3 can also be used. If you do not want to manually configure the environme
reprinted from: Rainwater: http://blog.csdn.net/gobitan/article/details/24367439installing Oracle JDK under Ubuntu LinuxDennis Hu 2014-4-22Description:Because many systems do not support the use of OPENJDK, it is necessary to install Oracle JDK under Ubuntu. While the installation of Oracle JDK does not seem to provide the apt way, so the way to install Oracle JD
Ubuntu dual system installation tutorial and troubleshooting, ubuntu Dual SystemPreparations for dual-system installation
At least two USB flash drives are required. One is used as the ubuntu boot disk and the other is used as the windows 7 boot disk. The method can be rufus or UltraISO. We recommend the former. All images of the operating system are written into
-headless* openjdk-6-jre-headless* gcj-4.5-jre-headless* openjdk-7-jre-headlessTry: sudo apt-get install
First, we need to check whether there are already some java alternatives installed on the system. To do that we can useUpdate-AlternativesCommand:
$ sudo update-alternatives --list javaupdate-alternatives: error: no alternatives for java.
Currently, we have no other Java installations on the system so l
Canonical has released a UbuntuTouch simulator running Unity8 and Mir. Although there are some bugs, such as 64-bit system crash, we believe these will be fixed one by one. This article will teach you how to execute Ubuntu, install the UbuntuTouch simulator on 13.10 and 12.04. Because the installation instructions of the current UbuntuTouch simulator have some changes compared with the original ones, please follow the instructions below to create
Cano
Reprinted from http://terrychen.info/ubuntu-linux-beginners-guide-ubuntu-linux-installation-preparation/With the continuous improvement of Ubuntu Linux, the process of installing Ubuntu Linux now is not only simple but also fast. In my opinion, installing Ubuntu today is no
As you probably know, Oracle Java (JVM/JDK) will not be available in the Debian/Ubuntu repositories anymore because Oracle retired the "Operating System distributor license for Java" (Jdl) and the only release available in the repositories will be openjdk.
But of course, Oracle Java can still be downloaded from its website if you really need it and don't want to use op
Use Ubuntu Touch Emulator to experience Ubuntu Touch [multiple images]
This notebook has been put on hold for a long time. On the one hand, the download speed of Ubuntu touch images is too slow, and on the other hand, some of the knowledge has not yet been rushed to get started. Today, I updated my image and found that the speed is nearly 160 KB. This allows you
---------------- No.1 --------------------------------------
Execute commands on the terminalBack up the current source list for future recovery as needed:
Sudo CP/etc/APT/sources. LIST/etc/APT/sources. list_backup
Terminal command sudo gedit/etc/APT/sources. List
Delete all the items, select a paste below, and save
European update sources for Ubuntu
We recommend that you use this update source, because there are many updates, and there are good cul
Distribution Mode)The hadoop daemon runs on a cluster.
Version: Ubuntu 10.04.4, hadoop 1.0.2
1. Add a hadoop user to the System user
Before installation, add a user named hadoop to the system for hadoop testing.
~$ sudo addgroup hadoop~$ sudo adduser --ingroup hadoop hadoop
Now we only added a user hadoop, which does not have administrator permissions. Therefore, we need to add the user hadoop to the Administrator group:
~$ sudo usermod -aG admin
appears:Reference:Path = "......:/usr/lib/JVM/Java/jdk1.6.0 _ 12/bin" (there are quotation marks in this place. Neither classpath nor java_home is quotation marks)Classpath =.:/usr/lib/JVM/Java/jdk1.6.0 _ 12/libJava_home =/usr/lib/JVM/Java/jdk1.6.0 _ 12
Run:Source/home/username/. bashrc (The sudo command cannot be run before the source command, because the source command does not belong to the system command)At this time, the environment variables are successfully set (there are many ways to se
Package (locale) method;), and then, in the/root/.profile add: Export LC_ALL=ZH_CN. UTF-8 (Specific reference: Adjust changes to Ubuntu time zone, time, locale).Vim/root/.profileExport LC_ALL=ZH_CN. utf-8Enter the following command to install:Then re-open the terminal, you can find the Chinese locale has been installed, warning no longer appear.Of course, you can also perform:Rebuild the locale.Ubuntu memory Problem: Adjustment parameters:/etc/sysctl
original link: http://blog.csdn.net/yuxiangyunei/article/details/45365235Environment:Ubuntu:ubuntu-15.04-desktop-amd64vmware:vmware-workstation-full-11.1.0-2496824,1f04z-6d111-7z029-av0q4-3aeh8android:andro Id-5.1.0_r3One, Initializing a Build environmentOpen Terminal to enter the following command, open by: Ctrl+alt+tYou can also open the terminal by right-clicking the desktop. 1.Installing the JDK
$ sudo apt-get update
$ sudo apt-get install O
First, create Hadoop groups and Hadoop users under ubuntuIncrease the Hadoop user group while adding Hadoop users to the group, and we'll use that user when it comes to Hadoop operations . 1. Create a Hadoop user group 2, create a Hadoop user sudo adduser-ingroup Hadoop HadoopYou will be prompted to enter a new UNIX password, which is the password for the new user Hadoop , enter the return. If you do not enter a password, you will be prompted to enter the password again, that is, the password
Transfer from http://www.linuxidc.com/Linux/2015-01/112370.htmFirst, create Hadoop groups and Hadoop users under UbuntuIncrease the Hadoop user group while adding Hadoop users to the group, and we'll use that user when it comes to Hadoop operations.1. Create a Hadoop user group2. Create a Hadoop usersudo adduser-ingroup Hadoop HadoopYou will be prompted to enter a new UNIX password, which is the password for the new user Hadoop, enter the return.If you do not enter a password, you will be prompt
Document directory
Step 1. Install JDK and Eclipse IDE
Step 2. Download Android SDK starter package
Step 3. Install ADT plugins for eclipse
Step 4. Install Android SDK
Ubuntu (Latest Version: 12.04 LTs) is now the most popular GNU/Linux distribution on this planet; Android, the most popular operating system for mobile devices, both are rocking!
If you are a Android developer (or an absolute beginner)-who wants to use
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.