Solve the problem that Firefox + OpenJDK does not have a Java Plug-in Ubuntu. ubuntuopenjdk
If OpenJDK is installed, it is a pity that it does not have libnpjp2.so.
At this time, all the strange methods on the Internet struggle to be ineffective, but you can use the icedtea plug-in to solve this problem.
The version of icedtea depends on the OpenJDK version insta
Encounter Error Error:./gamma:relocation error:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so:symbol JVM_ Findclassfromcaller, version sunwprivate_1.1 not defined in file libjvm.so with link time referenceModified files: Hotspot/make/linux/makefileRemove all Test_gamma from the file./gamma:relocation Error:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjava.so:symbol JVM_ Findc
Reference: http://gleamynode.net/articles/2296/
In the blog, the OS is Ubuntu 11.10/12.04 32-bit. The environment in this article is Ubuntu 12.10 32-bit.
Environment Settings:
Ubuntu 12.10 32-bit
JDK 1.6 +
Create a directory named workspace under the $ home directory
Install the required package
Apt-Get install mercurial gawk g ++ libcups2-dev libasound2-dev libfreetype6-dev libx11-dev libxt-dev libxext-dev libxrender-dev libxtst-dev libfontconfig1-dev
Install hgforeset
/* ****************************************************************************** * ubuntu OPENJDK 7 Upgrade 8 * Description: * Dream really created a project today, and he wanted to use the latest version, my side of the OPENJDK is version 7, * So to upgrade to 8 version of the line. * 2016-9-1 Shenzhen Nanshan Ping Shan Village oz
Compiling androidl requires the use of openjdk-7, and using sudo apt-get install OPENJDK-7-JDK an error message appears.Online a number of methods, you can update the software source of the method to solve, the use of the#中国科技大学 源,验证OK。deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse deb h
this is that the following error occurred while compiling the Policytools:ld: library not found for -lX11The back of this https://github.com/hgomez/obuildfactory/wiki/Building-and-Packaging-OpenJDK7-for-OSX to think about trying to install Xquartz to solve the problem.To establish a soft connection for X11 after installationsudo ln -s /usr/X11/include/X11 /usr/include/X113. Installing FreeTypeA friend who compiles openjdk under Linux may have encount
, just a moment to rise, play only.My code can be downloaded here: Https://github.com/naturemickey/valjavac after downloading the code to search "ADD by zhouyou" Can find My code (only dozens of lines), the other code is OPENJDK.Note: I'm using Jdk8u40 's Javac code to modify it, so if you want to do it yourself, you need to install JDK8 (the Java compiler is bootstrap, written entirely in Java).Because a lot of people on the Javac code is not familiar (actually I just touch the next day only, a
1. Install ubuntu Desktop on physical machine or VM
You can download Ubuntu 16.04.2 LTS (recommend) from Https://www.ubuntu.com/download/desktop 1.1. Use source of USTC, it's faster in
sudo cp/etc/apt/sources.list/etc/apt/sources.list.bak
sudo sed-i ' s/archive.ubuntu.com/mirrors.ustc.edu.cn/g ' /etc/apt/sources.list
1.2. Update system
sudo apt-get update
sudo apt-get-y dist-upgrade
sudo apt-get autoclean
reboot
2. Install Tools
2.1. Install Vim
sudo apt-get install vim
2.2 Install
and other tools, unlike the Windows platform need to install: " MinGW Installer "! But the reality is: the direct operation of Eclipse is not fully run ECLIPSE-CDT function, no new CPP project, find a half-day, only to find that the Ubuntu JDK environment by default is open source OpenJDK so, can not fully support eclip SE-CDT function; Go to the ORACLE website to download the JDK for the platform,,, and then install SUN-JDK, unzip to the appropriate
-version
"1.8.0_92"1.8.0_92-25.92 -B14, Mixed mode) For ORCALEJDK and OPENJDK coexistence issues: You can also use the update-alternatives command tool Tomcat |-- Installing tomcat: |--decompression. taf.gz version can be used Reference: installing Tomcat-specific JDK |-Open Browser: http://127.0.0.1:8080/ myeclipse2015: Configure jdk1.8, tomcat8.0. Mysql |--Although MySQL in the Linux distribution is gradually replaced by mariadb, I have to u
Download installationEnter https://www.mercurial-scm.org/wiki/Mercurial download, Windows on the fool installed, after installation, command line into the installation directory, using the command HG version instructions installed successfully, such asNew sandboxWhat is a sandbox library? In addition to the project repository, there are a number of test libraries that can be used to run some test commands against mercurial without worrying about damage to development. It is possible to use them
Before installing, check if the system comes with OPEN-JDKCommand:Rpm-qa |grep JavaRpm-qa |grep JDKRpm-qa |grep GCJIf no information is entered, no installation is indicated.If the installation can use RPM-QA |grep java | Xargs rpm-e--nodeps Bulk unload All files with Java The key word for this command is JavaFirst retrieve the list containing JavaYum List java*Retrieving the list of 1.8Yum List java-1.8*Install all files for 1.8.0Yum Install java-1.8.0-open
#进入系统的terminal to view the current JDK version:Shell>java-version#查看安装包Shell>rpm-qa|grep Java#将上条命令查出来的结果卸载掉 and see if the uninstallation was successfulShell>rpm-e--nodeps ... java ...Sehll>java-version#下载jdk安装包, Address: http://www.oracle.com/technetwork/java/javase/downloads/ Java-archive-downloads-javase6-419409.html#jdk-6u21-b07-oth-jpr#将下载的文件jdk -6u21-linux-x64-rpm.bin into the/usr/java directoryShell>mkdir/usr/javaShell>cd/usr/java#查看jdk Permissions for -6u21-linux-x64-rpm.binShell>list-l
1. Place your tar version of the JDK 2. Run the command: sudo gedit ~/.BASHRC To set the environment variable with gedit edit ~/.BASHRC: Export Java_home=/your/path/to/jdkexport jre_home= $JAVA _home/jreexport classpath=.: $JAVA _home/lib: $JRE _home/ Libexport Path=${java_home}/bin: $PATH 3. Run the command: sudo update-alternatives--install/usr/bin/java java/your/path/to/jdk/bin/java 300sudo update-alternatives--install /usr/bin/javac Javac/your/path/to/jdk/bin/javac 300 4. Run the command to
Create the installation directory sudomkdir/usr/lib/jvm3, decompress the file package tarzxvf./jdk-7u25-linux-x64.tar.gz-C/usr/lib/jvm4, configure the environment variable gedit ~ /. Bashrc under the file... 1. download JDK from the official network.
SummaryClass inheritance Relationships
Java.lang.Object
java.util.abstractmap
java.util.hashmap
Defined
public class treemap
extends abstractmap
implements Navigablemap, Cloneable, Serializable
Points
1) differs from Hashtable in that it
Openjdkandroid4.4
Add environment variables:
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
You can ~ /. Add it to the bashrc file, so you don't have to manually change it every time!
Of course, after the preceding environment variable settings
Because CentOS6.0 will install software such as OpenOffice by default, which requires Java support, the system will install a JDK environment by default. if you need to use a specific Java environment, it is best to uninstall or permanently delete
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.