Install Java JDK 8 in CentOS 7/6. 5/6. 4
This tutorial describes how to install and configure the latest Oracle JavaJDK on servers CentOS7, 6.5, and 6.4. Although these steps should also apply to other RPM-based releases, such as RHEL7,
Install JDK 6 first
Sudo apt-Get install sun-java6-jdk
Then you need to set the default JavaProgramSudo Update-alternatives -- config JavaEnter the corresponding options as prompted, and set them to JDK 6.
The following settingsSudo Vim/etc/environment
Add the following two lines:Classpath =/usr/lib/JVM/
1. Install JDKhttp://blog.csdn.net/sonnet123/article/details/9169741If the old JDK version or the default JDK version exists, the JDK information above may not be the latest version, you will need to[Plain]View Plaincopy
Installing Java Alternative---JDK
# update-alternatives--install/usr/bin/java
Related reading:
Java 0 Basic teaches the way to install JDK under Windows diagram
Website download
You are the Windows environment, so open the browser and enter the address: http://tomcat.apache.org/download-70.cgi
Select the corresponding. -bit Windows zip download is ok.
Installation
Find the ZIP package you downloaded and unzip it to the directory yo
1. Add the source:
Deb http://us.archive.ubuntu.com/ubuntu/ hard multiverse.
Method:
Sudo gedit/etc/APT/sources. ListOpen source list, add
Deb http://us.archive.ubuntu.com/ubuntu/ hard multiverse. Save and exit.
2. sudo apt-Get update
3. sudo apt-Get install sun-java6-jdk
4,
Configure the default Java versionRoot @ Ubuntu:/etc/Apt # sudo Update-alternatives -- config JavaThere are 2 choices for the alterna
selection number:4 [Press Enter]Now you can try the Java version, the output is as follows# Java-versionjava Version "1.7.0_75" Java (tm) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot (tm) 64-bit Server V M (build 24.75-b04, Mixed mode)Set Environment variablescat >>/etc/profile.d/java7. sh eofexport java_
Problem Description:"You need to install the old Java SE 6 operating environment to open XXX" When installing an app on Mac OS today, searching the internet for a bit, There is said to change the app's Info.plist file, the jvmversion into their own version of the machine, but in my environment modified still does not work, and finally used the following method to
Solution: I am installing the jdk1.8.45, open the Charles hint "to open Charles you need to install the legacy Java SE 6 Runtime" 1. Download the jdk1.6 installation provided by Apple's website, Ann Can be used normally after loading, download the link as follows: https://support.apple.com/kb/DL1572?locale=en_US2. If you still want to use jdk1.8, you can set the
It's packed today. 10.10, install the development environment: Jdk1.8,intellij idea 14, when you open idea: you need to install the old Java SE 6 Runtime environment to open. Convoluted! There was no problem with the installation before 10.9.Workaround: Find idea in the application, right---Display the package content-
Before learning Java, a question for a real beginner (that is, learning Java from scratch): What is Java and then how to learn Java? Java is the high-level programming language introduced by Sun Microsystems in 1995, which is divided into
Details about PullScrollView (6) -- extended expansion (getScrollY () in listview is always equal to 0, overScrollBy in ScrollView), listview and scrollview
Follow your heart is often said. But it was a tough day.
Related Articles:
1. Details of PullScrollView (1) -- custom control attributes2. Details of PullScrollView (2) -- Animation, Layout, and pull-down Rebound3. Details about PullScrollView (3) -- I
[Installing Metasploit Framework on Centos_rhel 6] install Metasploit frame "translation" on Centos_rhel 6Tag declaration: Blue Man for the translation of the English content, yellow text for the execution of orders. English proficiency is limited, please note if there are omissions. Article Origin Blog Park-first lineAll command in the need to is ran as root. To switch to root and has all the proper variab
update, insert objnew,true is inserted , default is false, do not insert. A fourth parameter, The default is false, update only the first record found, if this parameter is true, the condition is checked out all the records are updated. Let's change a piece of data, the modifier uses the $setAfter running the following code, we find that the age in the data of name Zhangsan is modified to 50 (originally 25)Delete the data field, using the $unsetThe following code removes the Age property of the
OSW requires JAVA
Next JDK 7 said what GBLIC 2.4 should go to rpm sercache. COM without REDHATLINUX
When redahat websit is used, if there is no version 2.4.
Later, the next JDK6 http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
Now more and more friends are using linux. A few days ago, two friends asked me how to configure the java
6 best development tools required by Java programmers and 6 java programmers
To do well, you must first sharpen your tools. Every Java programmer has its usual tool components. For Java programmers, a variety of useful software an
Java Note: Part 6 first understanding of data types (part I), part 6 of java
# Routine nagging 1 # the recent power outage in the residential area has caused me to doubt my life. From today on, we should be able to get back to the previous pace
# Daily nagging 2 # I wrote a blog in the previous article. From today on,
Nginx is a high-performance HTTP and reverse proxy server, also a IMAP/POP3/SMTP server. In the case of high connection concurrency, Nginx is a good alternative to Apache server: Nginx in the United States is a virtual hosting business owners often choose one of the software platform. Capable of supporting up to 50,000 concurrent connections, with minimal memory overhead. This is also an important reason for nginx to be popular. This article demonstrates the installation of Nginx based on Linux
Learn Java-6 from scratch. Execute operations repeatedly using loops and learn java-6
1. Use the for loop;
2. Use the while loop;
3. Use the do-while loop;
4. Early exit loop (break, continue );
5. Name the loop.
Program Nines: display the product of integers 1-and 9
1 package com.jsample; 2 3 public class Nines { 4
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.