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
In the structure of the previous OPENJDK source research Note (vii) –java code file (. Class), we have a general idea of the structure of the Java bytecode file.
This article describes in detail how to read most of the details of a. class file.
1. Construct the file
Byte code file user.class
String userclass = "C:/user.class";
File File = new file (userclass);
2. Construct the input streamFileInputStream fin = new FileInputStream (file);
DataI
Like the author of the book, I compiled the OPENJDK 7. The process is also encountered a lot of pits, consulted a lot of information, tried to use JDK8,JDK7,JDK6, the final use of jdk7u71 compiled successfully, the following record the process, so that others can learn from. First, the preparatory work:
1. Install Xcode, download directly from the App Store, and command line tools
2. Download Ant,mac will bring Ant, in/usr/local/cellar/ant/1.9.7, if
ARM Architecture and programmingThis article records some of the books that read "ARM architecture and programming".Personally, when learning arm system, do not need to memorize, as long as some key to the general memory, such as ARM Register (General Register, PC, LR, SP, CPSR, SPSR),
), 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, also not familiar), so a little more:The main class of the OpenJDK Javac Run is Com.sun.tools.javac.Main, which runs the class directly and takes the file n
-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 encountered a requirement to install FreeType, and then install and add the installation directory to the environment variable. But OS X is not the same, FreeType is not practical to install separately. Alt
Windows Azure Platform Family of articles CatalogAzure ARM (1) OverviewAzure ARM (2) OverviewService types supported by Azure arm (3) armAzure Arm (4) starts creating an arm Resource group and creating a storage account In the previous section, I described how to export a t
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
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
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 location, set environment variables,,, configure environment variables: If you have Vim installed
Label:Because of my academic needs, I need to build a Java EE development environment in Linux and develop it in collaboration with the students in Windows. Jdk BecauseFedora is used by defaultOPENJDK, removal is more or less problematic, because many open source software is used by default, even if it is installedORACALJDK will also appear in the packageOracle does not exist problems, for the novice I do not dare to touch it;Windows development partners develop together and useOPENJDK Developm
naming rules
The naming conventions for the cross-compilation tool chain are:arch [-vendor] [-os] [-(GNU) Eabi] Arch -architecture, such as Arm,mips vendor -tool chain provider osEabi -Embedded Application Binary interface (Embedded application Binary Interface)
Depending on whether the operating system is supported or not, ARM GCC can be divided into support and unsupported operating systems, such as
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
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.