Three methods for installing JDK under CentOS: centosjdk
Because of the differences between Linux development vendors, the operating details of Linux versions vary with development vendors. Today, let's talk about how to install JDK in CentOS:
Method 1: manually decompress the JDK compressed package and set the environment variable
1. Create a java directory unde
Java Help documentation full range JDK1.5 JDK1.6 JDK1.7 official Chinese-English full version downloadThe JDK (Java Development Kit,java Development Kit, Java Development tool) is a program development environment that writes Java applets and applications. It consists of a running environment on top of the operating system layer and the tools that developers need to compile, debug, and run applets and applications written in the Java language.The
I. Pre-conditions1, 1 View the system version of Linux:[Email protected] ~]# uname-aLinux Llylinux 2.6.32-573.el6. x86_64 #1 SMP Thu Jul 15:44:03 UTC x86_64 x86_64 x86_64 gnu/linux1, 2 Create a storage path for the JDK and Tomcat software.[Email protected]/]# mkdir/application[Email protected]/]# CD application/[Email protected] application]# pwd/application1, 3 download TOMCAT7Visit http://www.apache.org/and find it on the page650) this.width=650; "s
Classification:—————————— differentiate between the two JRE ———————-in eclipse(Eclipse is also an ordinary Java program, so there must be a JRE as the operating environment.) If you do not have any JRE (or JDK) installed on your machine, then clicking Eclipse.exe will make an error saying that the JRE could not be found. You can install a JRE at this point, or copy the JRE directory directly to the Eclipse installation directory.You can specify differ
Some time ago in Linux compiled a OPENJDK, the compilation process encountered a lot of problems, the next time the compilation process and encountered problems recorded.
1. Install the libraries used by the compilationYum List build-essential gawk M4 libasound2-dev libcups2-dev libxrender-dev xorg-dev xutils-dev x11proto-print-dev Binuti LS libmotif3 libmotif-dev ant libxt-dev Libxtst-devYum install alsa-lib-devel cups-devel libxi-devel gcc gcc-c++ libx*2. Installing FreeTypewget https://source
Ubuntu10.04LTS installation sun-java6-jdk, error. Readingpackagelists... DoneBuildingdependencytreeReadingstateinformation... DonePackagesun-java6-jdkisnotavailable, buti... Ubuntu 10.04 LTS installation sun-java6-jdk, error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jdk is not available, but is ref
JRE: Java Runtime Environment.JDK: it is the basis of all Java applications. All Java applications are built on it. It is a set of APIS, or Java classSDK: software development kitHttp://java.sun.com/products/1. the SDK (software development kit) helps developers improve their work efficiency. Different types of software development can have their own sdks. Windows SDK, DirectX SDK, And. Net SDK. Java Development is also unambiguous and has its own Java SDK.2.
Preface
There are many ways to install JDK In Ubuntu. Many methods described on the Internet are not very clear. For Beginners, many do not know how to install JDK. This blog explains how to install JDK In Ubuntu. the Ubuntu 12.04 LTS version is used here.
Main content of this blog:
Preparations
Before JDK is installe
First step: Check if the Linux-brought JDK is installed (uninstall CentOS installed 1.4)The installed CentOS will bring openjdk, with the command java-version, will have the following information:Java Version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-bit Server VM (build 1.6.0-b09, Mixed mode)It is best to uninstall the OPENJDK before installing Sun's JDK.See Rpm-qa First | grep javaThe following information is displayed:java-1.4.
1. definitionJRE (Java Runtime enviroment) is the Java operating environment . For users of Java programs, not developers. If you download and install only the JRE, your system can only run Java programs. The JRE is the set of environments necessary to run a Java program, including the JVM standard implementation and the Java Core Class library. It includes Java virtual machines, Java platform core classes, and supporting files. It does not contain development tools (compilers, debuggers, etc.).
on both the Windows operating system and the Linux operating system. Its principle is that the Java program's file class is not directly interpreted by the computer to execute, but first run on the Java Virtual machine, through the virtual machine and the system to do an intermediate conversion. Need to understand the Java program cross-platform, but the virtual machine is not cross-platform, want to run Java program on an operating system, it will be installed in the corresponding version of t
? Installing the JDK and JRE? JDK configuration environment variables and testsInstall multiple versions of the JDK and switch? The difference between the JRE under the JDK and the second installed JRENote the point:1.JDK version needs to be 64-bit2. Install
Method One: Manual decompression JDK , and then set the environment variable1. Create a java directory under the/usr/directory [Email protected] ~]# Mkdir/usr/java[Email protected] ~]# Cd/usr/java2. Download, then unzip[Email protected] java]# Curl-o http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz[Email protected] java]# TA
As the saying goes, everything starts hard.
A lot of things seem to be natural to people who already understand them, but they are confusing for beginners. When I first started reading JAVA, it also took a lot of time to configure JDK. I will write down some of my experiences here, hoping to help beginners.
Of course, here is an exception. It is difficult to start with everything.
However, there are still many difficulties after the beginning of eve
Because of the different Linux developers, so different developers of Linux version operation details are not the same, today, the installation of CentOS under the JDK:Method One: Manually unzip the JDK's tarball and set the environment variable1. Create a Java directory under the/usr/directorymkdir/usr/~]# Cd/usr/java2. Download the JDK, then unzip[Email protected] java]# Curl-o http://tar -zxvf jdk-7u79-l
ObjectiveThere are so many ways to install JDK in Ubuntu, and many of the methods that are introduced online are not very clear, and for beginners, a lot of them don't quite understand how to install them. This blog is a detailed explanation of the installation of JDK under Ubuntu, the Ubuntu version of Ubuntu 12.04 LTS is used here.The main content of this blog:
Preparatory work
Installing the
Easily understand what a JDK is and what is a JDK?JDK is the first step to learning Java. Whether you want to learn Java programming, or build a JSP web development environment, or the Android development environment can not do without it.What is a JDK? The JDK is the abbrev
Scenario: Is it difficult to do things in the world? For this, it is easy for those who are difficult to do so, and those who are not are also difficult. Is it difficult for people to learn? It is easy to learn, but it is also difficult to learn.1 Preparation 1.1 Check the system versionRecommendation: Install with the root user when installing the software.Because the Java JDK distinguishes between 32-bit and 64-bit systems, it is important to determ
1. Uninstall the previous JDK and mark all options that contain openjdk in the new version to completely delete it. Or execute sudo apt-Get autoremove openjdk-6-jre 2, download JDK Software
Follow these steps to install Sun JDK:
Slave/
Or add a repository next week:
Sudo add-Apt-repository PPA: ferramrobert to/JavaSudo apt-Get updateSudo apt-Get install sun-java
Windows installation JDK is simple, but often novice ask Linux how to install the JDK, the following installation steps introduced, this article in the case of CentOS Linux, The installed JDK version is 1.7.0.25 (jdk-7u25-linux-x64.tar.gz), the master please drift over.Tools/Materials
Redhat/centos Series Linu
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.