Discover getresponse alternatives, include the articles, news, trends, analysis and practical advice about getresponse alternatives on alibabacloud.com
Build the ubuntu eclipse C ++ EnvironmentInstall the java Development Environment package JDK
Step 1: Download jdk-7-linux-i586.tar.gz
wget -c http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz
(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
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
vim
this case, you must use the "Update-alternatives" tool provided by Debian to complete the process.
Program Multiple versions are available:
Sudo Update-alternatives -- display Java
The system only lists gij JVM, because JDK 6 is manually decompressed and installed.
Enter the following two lines:
Sudo Update-alternatives -- install/usr/bin/Java/usr/local/lib/jdk
-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 alter
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
(envelope. getresponse ()! = NULL) {return parse (envelope. bodyin. tostring ());} /*************** Parse XML * @ Param Str * @ return */Private Static list
This will be successful.
3.2 Example: Query product information through WebServiceThis example involves a WebService server program and an ophone client program. You can directly copy the server program (axis2 directory) to the
Http: // localhost: 8080/axis2
If the page shown in 2 is displayed
[Main reference: http://msdn.microsoft.com/msdnmag/issues/04/12/netmatters/]
In this case, the client app uses httpwebrequest to send a service request to the server. In. net 1. in X, if you have too many concurrent HTTP webrequests, you will find that. net begins to throw such an exception: there were not enough free threads in the threadpool object to complete the operation. why?
The answer is always found in the source code. If you look at the implementation in the Shared Source CLI (by the w
Android L recommended using the JDK7 compiler, which is the natural evolution of the law, just like 4 years ago to compile Android 1.6 needs to use JDK5.Multiple versions of the JDK can coexist, and you can switch them at any time using the Update-alternatives tool. The procedures for installing OPENJDK and Oracle JDK (Sun) and switching versions are described below.First, install the OPENJDK7$ sudo apt-get update$ sudo apt-get install OPENJDK-7-JDKLo
/downloading.htmlCompile Reference 3: http://source.android.com/source/building.htmlCompile reference 4: http://source.android.com/source/building-devices.htmlNext we will summarize the download and compilation process of the android source code on ubuntu 10.10. The official documents are detailed. This article focuses on summary and supplement. If you still have any questions, please refer to the official webpage or leave a message.I. Initial Environment Construction1. Install JDKThe command fo
openjdk, the following work is required to set the installed JDK to the default JDK Version. Run the code: [plain] sudo update-alternatives -- install/usr/bin/java/usr/lib/jvm/java-7-sun/bin/java 300 sudo update-alternatives -- install/ usr/bin/javac/usr/lib/jvm/java-7-sun/bin/javac 300 sudo update-alternatives -- install/usr/bin/jar/usr/lib /jvm/java-7-sun/bin/
Install Java 10.04 Java 1.5 on Ubuntu 1.6
11:00:05 | category: Embedded Linux | font size subscription
Installing the JDK
The Sun JDK is no longer in Ubuntu's main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK shoshould be used.
Java 6: For gingerbread and newer
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"$ sudo add-apt-repository "deb-src http://archive.canonical.com/ubuntu lucid partn
the/usr/local/Android directory to prepare for later Android installation. Decompress JDK here. Add the following content to the/etc/profile file:
Export java_home =/usr/local/Android/jdk1.6.0 _ 29Export Path = $ path: $ java_home/bin
Click source/etc/profile. Enter Java-version to check whether Java is installed successfully. Generally, if 1.6.0 _ 29 is displayed, the operation is successful. But the document also says to install javac and jar. I guess the reason may be that, even though Java
Install and configure JDK 7 in Ubuntu 11.04 Step 1: Download jdk-7-linux-i586.tar.gz [plain] wget-c http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz (Note: if the download fails, it is recommended to use thunder download, and then copy to the Linux system .) Step 2: unzip and install [plain] 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 the environment variable [plain] vim ~ /. Add bashrc: www.2cto.com [plain]
. modify the file www.2cto.com 1 PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin: /usr/bin:/sbin:/bin:/usr/games: $ {JAVA_HOME}/bin "2JAVA_HOME =/opt/ja Va/jdk1.7.0 _ 073JRE_HOME =$ {JAVA_HOME}/jre4CLASSPATH =.: $ {JAVA_HOME}/lib: $ {JRE_HOME}/lib "3. reload bashrc1 After entering the preceding content, Press esc to exit the editing mode, move the cursor to the end, and enter ': wq! 'To save and exit. 3. Save and execute the following command to make it take effect immediately. 1 source ~ /. Ba
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.