Read about how to install oracle java jdk on ubuntu linux, The latest news, videos, and discussion topics about how to install oracle java jdk on ubuntu linux from alibabacloud.com
1.Reference URL:Http://www.xuebuyuan.com/2070575.htmlhttp://blog.csdn.net/csusunxgg/article/details/8956027ZC: Web content saved in "Baidu Cloud CodeSkill33--All Files > from Web > Linux > Ubuntu > Ubuntu installation jdk-6u45-linux-x64-rpm.bin__work_201 60115_0851.rar "2.(1
Click Ubuntu system => System Management => New Software Package Manager
Search for the jdk mysql keyword and select the software source to be installed from the search list.
I. Configuration ~ /. Bashrc FileDefault JDK installation path/usr/lib/jvm/
In ~ /. Add it to the bashrc configuration file
JAVA_HOME =/usr/lib/jvm/java
1. JDK InstallationAfter extracting the JDK installation package, edit the ~/.BASHRC file, add the following configuration to the file, and then pass the source ~/.BASHRC. The JDK is installed successfully.Export java_home=/usr/lib/jvm/jdk1.7.0_55 export jre_home=${java_home}/jre export Classpath=.:${java_home }/lib:${jre_home}/lib export Path=${java_home}/bi
Deb Http://us.archive.ubuntu.com/ubuntu/hardy MultiverseBut when the executionsudo apt-get updateW:failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/universe/binary-i386/Packages will also appear404 Not Found [ip:91.189.92.180 80]This time, need to be (xx.) Archive.ubuntu.com T changed to old-releases.ubuntu.com.Deb Http://old-releases.ubuntu.com/ubuntu
-or 64-bit)
Mac OS X 10.5.8 or later (x86 only)
Linux (tested on Ubuntu Linux, Lucid Lynx)
Gnu c Library (glibc) 2.7 or later is required.
On Ubuntu Linux, version 8.04 or later is required.
64-bit distributions must be capable of running 32-bit applications.
Download:Jdk-8u45-linux-x64.tar.gzExtract:sudo tar zxvf./jdk-8u45-linux-x64.tar.gzRe-command:sudo MV jdk1.8.0_45/jdk1.8/New folder:/usr/local/jdkTo move files under the JDK:MV JDK1.8/USR/LOCAL/JDKAdd environment variables (add content at the end):Vim ~/.BASHRCExport java_home=/usr/local/jdk/jdk1.8Export Classpath=${jav
Environment:Ubuntu 10.04Steps:1. Download and install jdk$ Sudo apt-get install openjdk-6-jdk2. view the JVM in the current system$ Sudo update-alternatives -- display java3. Install the JVM path$ Sudo update-alternative s -- install/usr/bin/
[Linux] install MySQL, JDK, and Jboss on centOS,
We have been deploying the project on the windows server. When JBoss is started, the system memory will rise to 95%. When the system goes online, this situation cannot withstand thousands of accesses at the same time, the ear package is too large and remote calls are all urgent issues. from the server, modify the
All the incoming packages were cheated. Haha
In fact, this is not a way to teach everyone, but to tell everyone not to be too troublesome, otherwise it will be more troublesome .. Not understood? See the following...
I like android development. Because I have been developing framework for a long time and cannot meet my own requirements, I want to study the Android system source code.
By searching through the Internet, I found that the source code to be compiled must be installed with sun-
Step 1 of Installation for linux jdk + tomcat. check whether JDK is installed java login to the system with the root user, open a terminal input # rpm-qa | grep gcj display content contains the following information # java-1.4.2-gcj-compat-1.4.2.0-40jpp.112 #
,StandardEdition(build1.4.2_06-b03)
JAVAHotSpot(TM)ClientVM(build1.4.2_06-b03,mixedmode)JAVA
5. Set the environment to OK to see if JDK works normally. Let's write a test file test. java.
[root@LinuxServerrpm]#vitest.java
classtest
{
publicstaticvoidmain(String[]args)
{
System.out.println("HelloWorld!");
}
}
Save and exit. Compile
Installation environment:
Ubuntu 13.10 32bit
Installation preparation:
Jdk-7u17-linux-i586.tar.gz ()
Installation steps:
After the file is downloaded, place it in ~ Folder
Open Terminal
Mkdir Development
Tar-zxvf jdk-7u17-linux-i586.tar.gz-C Development
Sud
Description: The following is my personal experience, contact Ubuntu system is starting from 10.04, the blink of an eye has been four years, often browse various related forums, found from the beginning of my foundation to the present, there are many people on the forum to ask about the Java environment configuration related issues. So I summed up my personal experience as below, only for novice reference,
Install multiple JDK versions under Linux
NOV 21ST, 2014 | COMMENTS
4.4 (KitKat) has been used before the SunJDK1.6 version of the original compiled, to 4.4, began to compile with the SunJDK1.7 version, from the Android L start to the current 5.0 Google started to use OPENJDK to compile. So on a computer to do the source code compilation needs to
1. Install jdk first
1. Install jdk
First, go to ghost. My user name is cjw, so the full directory is/home/cjw/java right-click and open it with the archive manager, and then decompress the content to the java folder,
Next, c
environment variable to not take effect ]sudo update-alternatives--install/usr/bin/java java/opt/sinoknots/jdk1.8.0_45/bin/java 300sudo update-alternatives--install/usr/bin/javac javac/opt/sinoknots/jdk1.8.0_45/bin/javac 300This step you will choose the
From: http://www.cnblogs.com/hbycool/articles/1672010.html
Install JDK Linux Step 1. First download JDK (jdk-1_5_0_02-linux-i586.rpm) from the Internet, recommended sun official website www.sun.com, download and put in the/home d
Transferred from: http://blog.csdn.net/tecn14/article/details/24797545JDK is currently the latest version of Jdk-8u5, this time did not choose to install the latest jdk8, but to install jdk7 the highest version of jdk-7u55.First, go to the official website to download jdk-7u
Ext.: http://www.cnblogs.com/bluestorm/archive/2012/05/10/2493592.htmlGo first.Oracle DownloadsLinux under the JDK compression package, I downloaded the jdk-7u4-linux-i586.tar.gz file, the next good after the direct decompressionSTEP1:# Copy the extracted jdk1.7.0_21 folder to the/USR/LIB/JVM directory with the highest permissionssudo cp-r ~/jdk1.7.0_21//usr/lib/
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.