First, install the JDK:RPM Installation:# RPM-IVH jdk-8u45-linux-x64.rpmIn the case of a Debian system, tar. Unzip tar.gz to/usr/local/java/and create the corresponding link file. Such as:$ ll/usr/local/java/Total usage 4lrwxrwxrwx 1 root root 6 June 22:31 Default-latestdrwxr-xr-x 8 UUCP 143 4096 April 11 01:26 jdk1.8.0_45lrwxrwxrwx 1 root root 28 June 22:30 latest-/usr/local/java/jdk1.8.0_45/Second, the configuration:Create the/etc/profile.d/java.sh and edit the configuration file:$ cat/etc/pro
GCC is the GNU exclusive C/C ++ compiler. Because GCC has compatibility issues, you must use the specified version of GCC to compile and pass the code, therefore, we should switch to the appropriate GCC compiler in a timely manner.
1. Brief description:In general, the Compilation Program uses:/usr/bin/GCC
In fact, this/usr/bin/GCC is just a symbolic link, it points to/etc/alternatives/GCC, and/etc/alternatives
mockobjects-jdk1.4.x86_64:mockobjects for 1.4 jdk
2. Install JDK
[Root@localhost ~]# yum install java-1.6.0-openjdk.x86_64 ...
Total download size:44 M are this
OK [y/n]: Y
3. After the installation is complete, verify
[Root@localhost ~]# java-version
java Version "1.6.0_37"
OpenJDK Runtime (Environment IcedTea6) ( rhel-1.13.9.4.el5_11-x86_64)
OpenJDK 64-bit Server VM (build 23.25-b01, Mixed mode)
4. The default installation path via Yum is
/usr/lib/jvm
[
Original article name: 7 better alternatives to common Windows appsTranslator:Fish that cannot reach the shore {ttzhang}Link: http://www.makeuseof.com/tag/enhance-or-replace-integrated-windows-applications-with-these-great-alternatives/
There is no doubt, Microsoft is going to dominate the operating system market through Windows 7. who knows where we will be after that. at that point we will likely be
[Odroid-pc] ubuntu12.04 jdk-6u45-linux-x64.bin, jdk6u45linuxx64
1. Download jdk-6u45-linux-x64.bin.tar .**
2) Put it in a directory and decompress it.
3) execute the following command
Chmod + x jdk-6u45-linux-x64.bin
/Jdk-6u45-linux-x64.bin
Mkdir-p/usr/lib/jvmMv jdk1.6.0 _ 45/usr/lib/jvm
Update-alternatives -- install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0 _ 45/bin/java" 1Update-alternatives -- insta
-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list python update-alternatives:error:no alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list pythonUpdate-alternatives:error:no Alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
the installation process:Errors were encountered while processing:Libc6-dev:i386E:sub-process/usr/bin/dpkg returned an error code (1)Here's how to fix it:$ sudo apt-get install linux-libc-dev:i386$ sudo apt-get install libc6-dev:i386At this point, even if the build environment is complete, at least on my computer, so we can start to download the Android code to compile.Final installation Ia32-libs$ sudo apt-get install Ia32-libsUbuntu 14.04 x64 Configuring the Android 4.4 KitKat compilation env
to take effect.
$ . ~/.bashrc
Check the current Python version.
$ python--version
Python 3.4.2
2. Modify the Python version at the system levelWe can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:
# update-alternatives--list python
Update-alternatives
Lmhostid getting HostID to empty problem descriptionToday, migrating a previous virtual machine with FLEXLM, it turns out that the times are wrong after the migration...for license file......2 [])... Invalid hostid on SERVER lineSolutionsFrom the description of the problem, it seems that there is a problem with HostID, check with Lmhostid, and find the HostID ""1989-2004byofthisis""Because FLEXLM will use t
Depressed search everywhere, and I want to switch back to XP. In despair, I suddenly found out that the post of a cool man was successful. We will share with you the following methods:
It seems that flexlm itself is a problem. The lmgrd startup method of the startup manager may be a little incompatible with Vista, especially the command line cannot be run automatically as an administrator. Therefore, I thought of starting lmgrd directly using the
Tornado2.2 for pcpentium installation and use process1. Install tornado2.2 for pcpentium and BSP1. Install key,: cAQ8i-qP2I -G $ vT6-3 gjw-bEk9g2. Create a flexlm folder on drive C and copy license. dat to it.3. After the installation is complete, if Tornado is run directly from the Start Menu, an error is prompted because the installation is not complete,In the tornado2.2 folder of drive C, you will find a setup. log file, which can be opened using
Reprinted please mark the Source: http://blog.csdn.net/zgh1988/article/details/7994538
1. Preparations
(1) Vmware
(2) a pc with Windows XP or Windows 7 installed
(3) Tornado 2.2 For pcpentium CD1 and Tornado 2.2for pcpentium CD2 are tornado installation programs, BSP components, and windml installation programs, respectively.
(4) ramdisknt is used as a virtual floppy disk tool on Windows NT.
(5) due to Tornado built-in PC-NET NIC Driver problems, so need to download amd PC-NET Nic VxWorks System
the hardware lock. How to modify hardware lock authorization:
1. Uninstall the existing ArcGIS License Manager and existing Sentinel System Driver/Sentinel Protection Installer from Add/Remove programs.
2. Download the Windows License Manager Update.3. Ensure you are logged in with administrative privileges.4. Close all applications on your computer.5. Double clickLMSetup.exeExecutable and follow the instructions on your screen to install the License Manager using your. efl9 license file.6. bef
: Modify the registry: Open HKEY_LOCAL_MACHINE\SOFTWARE\FLEXLM License Manager\, the following is the ArcGIS License Manager, then add an item, named ERDAS License Manager (In fact, the name does not matter), and then open the manager has erdas related options, crack no longer repeat. It is important to note that if you are a 64-bit system, you cannot find the FLEXLM License Manager under the HKEY_LOCAL_MAC
only need to change the computer name.
4. Copy the license. dat and lmgrd.exe license rational.exe files together to the installation folder/rational/common/and the following.
For example, the default value is C:/program files/rational/common.
5. Copy flexlm. CPL to the System32 folder. For example, C:/winnt/system32 is used in Win2000.
6. When you enter the control panel, what will be added at the top of the control panel?
1. Download and decompress jdk1.7.0 _ 67, and put it in the/usr/local/lib/JVM directory.
Tar zxvf jdk1.7.0_67.tar.gz
Sudo MV jdk1.7.0 _ 67/usr/local/lib/JVM
2. Edit ~ /. Add the following content to the bashrc file.
The content after java_home is your custom JDK storage directory
Export java_home =/usr/local/lib/JVM/jdk1.7.0 _ 67
Export jre_home =$ {java_home}/JRE
Exportclasspath =.: $ {java_home}/lib: $ {jre_home}/lib
Export path =$ {java_home}/bin: $ path
3. Set the default JDK version
Sudo
1) Download jdk-6u45-linux-x64.bin.tar.**2) put it in a directory and unzip it.3) Execute the following commandchmod +x Jdk-6u45-linux-x64.bin./jdk-6u45-linux-x64.binMkdir-p/USR/LIB/JVMMV JDK1.6.0_45/USR/LIB/JVMUpdate-alternatives--install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_45/bin/java" 1Update-alternatives--install "/usr/bin/javac" "Javac" "/usr/lib/jvm/jdk1.6.0_45/bin/javac" 1Update-
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.