Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version , for example, we install both open jdk and sun in the system JDK two versions, and we want the system to use the sun JDK by default, what to do? Through the update-alternatives can be very convenient to achieve.sudo
Alternatives is a powerful command under Linux. Can only be performed under root authority. If there are several command functions in the system that are very similar, but can not be arbitrarily deleted, then use alternatives to specify a global setting.Alternatives is commonly used to install multiple versions of the same software on the same system. For example, in order to develop the need, I need to ins
Displaying a large amount of data on a page is a common practice in WEB projects, but limited by the size of the screen, we usually need to display the data by Page to make it easier for users to browse, therefore, the paging effect is indispensable for most projects. PEAR: Pager is
Displaying a large amount of data on a page is a common practice in WEB projects, but limited by the size of the screen, we usually need to display the data by Page to mak
Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-alternatives can be very convenient to
http://persevere.iteye.com/blog/1479524Update-alternatives is a tool dedicated to maintaining the system command link in the Ubuntu system, which makes it easy to set which command the system uses by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-alterna
Update-alternatives command 1. Functions
Update-alternatives is a dpkg utility used to maintain symbolic links of system commands to determine which commands are used by default.
In the Debian system, we may install many similar programs and optional configurations at the same time, such as the web browser program (Firefox, Konqueror), Window Manager (wmaker, metacity) different theme from that of the mo
As a PHP developer, one of the most useful things is the Pear class library. We know that Pear: Pager is dedicated to processing pages, while Pear: HTML_AJAX is some class libraries of Ajax applications. However, Pager is not only used for html paging links. It is ready for Ajax, which is more popular than the Supergirl. Let's take a look at how these two packages integrate the application.
Update-alternatives is a script for switching between multiple commands of the same type and can be installed in Debian via the Apt-get install dpkg. Before explaining the details of Update-alternatives, let's take a look at the examples already in the system. Open the terminal and execute the following command:LsResults: lrwxrwxrwx 1 root root 2011-03-12 15:20/usr/bin/java-/etc/
By default, even with Java 1.6 version Java script jdk-6u31-linux-i586.bin, when Java is installed, it will automatically upgrade to a 1.7 version state. For some applications that need to be run based on version 1.6, a downgrade of 1.6 is required. There are two specific ways to do this:1. Use the alternatives command to implement.Alternatives is a powerful command under Linux, and can only be executed under root authority. If there are several comma
A solution to the problem of passing Chinese parameter garbled characters using Pager-taglib paging front end1. Reproduce the problem Pager-taglib is sometimes used in Web projects as a tab for pagination, as shown in the Red box logo, and when we need to keep the page parameters, we pass the parameters in the If your page is encoded as gb2312 that's fine, but if your page code is UTF-8, then there will be
Use alternatives to convert the java version-general Linux technology-Linux programming and kernel information. The following is a detailed description. After jdk was installed, java and javac were replaced with the java and javac of gij in/usr/bin.
Some people on the Internet said that they could use a tool named alternativs to migrate the software version in linux. They decided to use alternatives to mig
I. Functional roleUpdate-alternatives is a utility for dpkg that maintains symbolic links to system commands to determine what commands the system uses by default.In the Debian system, we may install a number of similar programs and optional configurations, such as Web browser programs (firefox,konqueror), window managers (Wmaker, metacity), and different themes for the mouse. In this way, users can choose when they are using the system to meet their
Since the development of Linux, there have been a lot of available software. In this way, some software functions are basically the same. For example, there are nvi, Vim, emacs, and nano in the editor. What I'm talking about is only part of it. In most cases, software with similar functions is installed in the system at the same time and can be executed using their names. For example, to execute vim, you only need to input Vim in the terminal and press Enter. However, in some cases, we need to u
Page paging is the most familiar to programmers. In web development, page paging is often required. The jquery plug-in jquery pager can easily implement the Javascript paging function, and only a few lines of code are required, javascript paging is easy to handle,Instance EffectFigure below
Instructions for useThe jquery library file and the jquery pager library file must be used (current version 1.1)
Mate
JQuery Pager implementation code, jquerypager
The example in this article shares the specific implementation code of JQuery's Pager splitter for your reference. The specific content is as follows:
:
Code:
Html code:
Css code:
. Pager-box: after {display: block; height: 0; visibility: hidden; clear: both; content :'';}. page
Tian haili @ csdn
Different Android platforms use different JDK versions during compilation. For example, froyo (2.2) and its earlier versions require JDK; gingerbread and later versions require JDK. If you want to build different platform projects in an environment, you need to install different JDK. It takes time and effort to install JDK repeatedly during project switching. Update-alternatives provides a solution for this situation.
This article
Pear: integrated application of Pager and AJAX. Read the integrated application of Pear: Pager and AJAX. as a PHP developer, one of the most useful things is the Pear class library. We know that Pear: Pager is dedicated to processing pages, while Pear: HTML_AJAX is some class libraries of Ajax applications. However, Pager
The instance is as follows:
Instructions for use The jQuery library file and the JQuery Pager library file must be used (current version 1.1)
Material Preparation The CSS sample file of the sub-page, which can be copied as the CSS sample and named pager.css.
Copy codeThe Code is as follows: # pager ul. pages {
Display: block;
Border: none;
Text-transform: uppercase;
Font-size: 10px;
Margin: 10px 0 50px;
P
Up vote 1 down vote favorite
I typed:sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/ jdk1.8.0/bin/java" 1It ' s says alternatives--install needs link name path priorityCommand-Line Edubuntu
ShareImprove this question
Edited Jul 5 ' + at 17:48 Guntbert4,344
Asked Jul 5 ' + at 16:22 Swapnil18
The instance is as follows:Instructions for use The jQuery library file and the JQuery Pager library file must be used (current version 1.1)Material Preparation The CSS sample file of the sub-page, which can be copied as the CSS sample and named pager.css.Copy codeThe Code is as follows:# Pager ul. pages {Display: block;Border: none;Text-transform: uppercase;Font-size: 10px;Margin: 10px 0 50px;Padding: 0;}#
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.