Use Eclipse 15.04, Java 8, and WTP in Ubuntu 4.4Eclipse 15.04 in Ubuntu 4.4
In the previous article, I found the new tool Ubuntu Make in Ubuntu 15.04 and the method for using Eclipse 15.04 in Ubuntu 4.4. Some people may say that it is okay to use Eclipse 4.4 and download it directly from the Eclipse official website? But in Ubuntu, the Eclipse downloaded from the official website is a little different from the Eclipse that comes with Ubuntu. I think Eclipse in Ubuntu has changed its appearance,
Configure jdkmysqlTomcat in VmCenterOS
1. jdk installation and configuration
Run the java-version command to view the jdk version installed by the system.
Java version "1.7.0 _ 45"OpenJDK Runtime Environment (rhel-2.4.3.3.el6-x86_64 u45-b15)OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
Uninstall openJDK first.
Command: rpm-qa | grep javaJava-1.5.0-gcj-1.
Installation method: rpm installation, because some machines may not connect to the Internet, so the unified use of rpm installation software: jdk-8u45-linux-x64.rpm: http://www.oracle.com/technetwork/java/javase/downloads/index.html?javainformation =root@zck#] # Java-versionjavav installation method: rpm installation, because some machines may not be connected to the Internet, so the rpm installation is uniform
Software: jdk-8u45-linux-x64.rpm
: Http://www.oracle.com/technetwork/java/javase/do
First step: Uninstall the JDK from the old Linux① viewing native JDK versionsJava code
Java-version
The results are as followsJava code
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)
② Uninstall the OpenJDK that comes with the machine and install
When I first learned Java, I had this suspicion, but has not been validated; recently in Oschina to see someone in answer to the question also said so, and began a look at the idea of the--java.lang.object.hashcode () return value is not the object memory address.(Incidentally, a review of JNI) hashcode contract
Speaking of this question, everyone's first reaction must be the same as me-to check the source of Object.hashcode, but open source, see is this (Oracle JDK 8):
/** * Returns A hash
JDK7 new Features
JDK7 new features ... 1Modularization Modular ... 1Multi-Language Support Multi-language support ... 2Developer Productivity Developer Productivity ... 2Performance Performance ... 2Java Development Kit 7 (JDK 7) is the next major release of the Java SE platform. Through the OpenJDK project, JDK 7 has been a highly collaborative effort between Sun and volunteers from the Java develop ER community. Sun extends its gratitude to the al
Http://www.centoscn.com/image-text/install/2015/0311/4856.html
JDK Download Address:
$> wget http://jjbig.jb51.net:8080/201704/tools/jdk-linux-x64.tar.gz
1. Check the JDK version in the system [Java] view plaincopy $>java-version java version "1.7.0_"OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)OpenJDK 64-bit Server VM (build 20.0-b12, Mixed mode)
2. Test JDK installation packa
Step One: View and uninstall the OPENJDK from CentOS
# installed CentOS will bring openjdk, with command Java-version, will have the following information:
[root@localhost ~]# java-version
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's
Tags: jdk pictures lin too JRE body openjdk mode jarThe Debian-installed OPENJDK includes only the JRE and no Tools.jar,dt.jar, so install the OPENJDK full version.sudo apt-get install openjdk-8-jdkIf you have multiple versions of Java installed in your operating system, you can use the following command to select a sp
to make the configuration effective.Because there may be default JDK in Ubuntu, such as OpenJDK. If there is openjdk, so, in order to make the default use of the JDK we installed, but also to do the following work.Perform:sudo update-alternatives--install/usr/bin/java Java ~/abc/jdk1.6.0_45/bin/java 300sudo update-alternatives--install/usr/bin/javac javac ~/abc/jdk1.6.0_45/bin/javac 300This step adds our i
First download Openjdk8http://hg.openjdk.java.net/jdk8/jdk8/Here is the version management tool mercurial, similar to Git, you can check if you don't know.Clone, there is a file readme-builds.html, inside said more detailed, is the main reference document.The jdk8 after clone needs to run SH./get_source.sh to get the full code.My compilation environment and preparation (here is an example of compiling a 32-bit openjdk):win8.1 64-bitMinGW (official web
In Java, how is the underlying algorithm of the hashCode () value of an Object implemented ?, Objecthashcode
In Java, an Object has a special method: hashcode (). hashcode () indicates a value of the int type allocated to the Object by the JVM virtual machine, JVM uses the hashcode value of an object to improve the efficiency of accessing objects in HashMap and Hashtable hash tables.
The hashCode () returned value of an Object is a simple description on the Internet: "JVM is generated based on a
-versionJava version "1.6.0 _ 43"Java (TM) SE Runtime Environment (build 1.6.0 _ 43-b01)Java HotSpot (TM) 64-Bit Server VM (build pipeline 14-b01, mixed mode)
Add:When installing JDK, you need to check whether the original system has other JAVA version numbers. if the version numbers are inconsistent with the ones you want to install, uninstall them and install them again.[Root @ bkjia ~] # Java-versionJava version "1.7.0 _ 45"OpenJDK Runtime Environ
In order to demonstrate and keep the production environment private, I have built a virtual machine in the local VM that is exactly the same as the production environment, which comes from the local virtual machine. The operation steps are strictly in accordance with the production environment to be replaced.First of all, to introduce the general structure of the production environment, the front-end with nginx distribution, back-end two Tomcat processing request Application Server, this is only
When running Java application, the hint cannot find Java_home, query java-version
[Jifeng@localhost bin]$ java-version
java Version "1.7.0_09-icedtea" OpenJDK the Runtime Environment
( rhel-2.3.4.1.el6_3-i386)
OpenJDK Client VM (build 23.2-b09, Mixed mode)
Centos 6.4 has a OPENJDK environment, but you need to manually configure the Java_home environment vari
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.