Use jdk1.6 in centos running tomcat6

2010-06-06  来源:本站原创  分类:OS  人气:143 

My system is CentOS4.3 version, when the system is installed directly on the installation of the JDK1.4.2; now want to install JDK1.5, implementation of the rpm-ql jdk and rpm-qa java, rpm-qa j2sdk are prompted to install the package not found . But the implementation of the java-version to display version JDK1.4.2.

First run;

# Alternatives - remove java / usr / share / java / libgcj-java-placeholder.sh

# Alternatives - remove javac / usr / share / java / libgcj-javac-placeholder.sh

# Alternatives - remove jar / usr / bin / fastjar

# Alternatives - remove jar.1.gz / usr/share/man/man1/fastjar.1.gz

Delete the original link

And then re-create their own new link / usr / java / jdk / JDK installed their own version of

# Ln-s / usr / java / jdk / bin / java / usr / bin / java

# Ln-s / usr / java / jdk / bin / javac / usr / bin / javac

# Ln-s / usr/netbeans-4.0beta2/bin/netbeans / usr / bin / netbeans

Need to link the other to build their own.

<! - Page --><!-- page end ->

相关文章
  • Use jdk1.6 in centos running tomcat6 2010-06-06

    My system is CentOS4.3 version, when the system is installed directly on the installation of the JDK1.4.2; now want to install JDK1.5, implementation of the rpm-ql jdk and rpm-qa java, rpm-qa j2sdk are prompted to install the package not found . But

  • JDK1.6.0_11 + Apache2.2 + Tomcat6.0--combined ( 2011-05-10

    This switched: http://bbs2.chinaunix.net/viewthread.php?tid=1357082 Integrated platform is Red Hat Enterprise Linux 5.1 environment: Manually install the source code package approach. apache source code package: httpd-2.2.11.tar.gz Download http://la

  • CentOS5.5 install Tomcat6.0.29 2010-12-26

    1. Download apache-tomcat-6.0.29.zip, unzip ./apache-tomcat-6.0.29.zip to (guacm the user's root directory) / home / guacm (Note: If you unzip command does not work, that is not installed on your system, zip tools, possibly through the su - to switch

  • sakai2.7 bigbulebutton source code and installation manual 2010-07-12

    1. Sakai2.7 Installation Guide 1. System-related Sakai2.7 source code official links: http://source.sakaiproject.org/release/2.7.0/ In addition, the software needed: (1) tomcat5.5.28 (recommended) (2) mysql5.1 + (mysql5.1.48) (3) maven2.2 + (maven2.2

  • linux configure the full record 2011-01-11

    1 ll 2 cd / etc / 3 ll 4 vi ssh / sshd_config 5 service sshd restart 6 ll 7 cd / 8 netstat-nlp 9 netstat-nlp | more 10 11 uname-a 12 ll 13 exit 14 ifconfig 15 exit 16 ll 17 cd / 18 ll 19 cd bakup / 20 ll 21 mkdir dvd 22 cd dvd 23 ll 24 mount 25 ls /

  • openfire + jwchat of WEB IM 2010-04-02

    Based on openfire + jwchat of WEB IM Jabber is a leading instant messaging service server, which is a free open source software, allows users to frame their own instant messaging server, you can use the Internet, can also be applied in the local area

  • cas-server-3.3.2 trial example 2010-03-23

    1. To build java environment; 2. Download cas-server and cas-client-java-2.1.1 http://www.jasig.org/cas/download/cas-server-321 http://www.ja-sig.org/downloads/cas-clients/ 3. Cas-server environment for the deployment of the first step: Extract the c

  • flex + cairngorm + spring + hibernate integration example of 2010-04-12

    Preparation: SQL server2005: JDK: jdk-1.5.0.0 TOMCAT: tomcat-6.0.20 ECLIPSE: eclipse -3.3 MYECLIPSE plug-in: MyEclipse-6.5 Flex: FB3_WWEJ_Plugin.exe BLEAZEDS: BlazeDS, download address: http://opensource.adobe.com/wiki/display/blazeds/Release+Builds

  • Linux install Tomcat server 2010-05-02

    In order to learn java, need a server, it was decided to use popular tomcat. According to on-line presentation on the installation of tomcat, the installation itself, and now has succeeded, and now recorded the installation process, but also for ever

  • Use of InstallAnywhere 2009 Integrated jdk mysql tomcat to EXE 2010-06-08

    1. Write two batch files: install.bat and uninstall.bat, on the service directory. install.bat content: set JAVA_HOME=%1%\jdk1.6.0_10 set CATALINA_HOME=%1%\tomcat6.0.26 call %1%\tomcat6.0.26\bin\service install Tomcat call %1%\mysql5.0.22\bin\mysqld

  • TOMCAT 6.0 configuration 2010-08-02

    1. JDK installed, set the environment variable after classpath:.; C: \ Program Files \ Java \ jdk1.6.0 \ lib \ dt.jar; C: \ Program Files \ Java \ jdk1.6.0 \ lib \ tool.jar; (not less beginning.;) PATH: C: \ Program Files \ Java \ jdk1.6.0 \ bin Thou

  • linux virtual combat - kvm (kernel-based virtual machine) 2010-11-18

    Environment: CentOS5.5 Desktop Environment: CentOS5.5 (for Ubuntu Desktop) 2 Installing KVM CentOS 5.2 KVM host: Run system-config-securitylevel And open the SELinux (SELinux is disabled if you, virt-install will not work.) Then check whether the CPU

  • Tomcat application deployment under linux 2011-05-25

    One. Required software Software: jdk6.bin, apache-tomcat-6.0.18.tar Package: customer.war, customerService.war, FrontProject.war, expressBackUser.war, expressAccount, expressPlatform.war, OrderDispose.war, OrderDisposeTest.war II. Installing jdk 1).

  • KVM虚拟化学习总结之安装 2014-10-31

    KVM虚拟化学习总结之安装 0.VMware开启虚拟化: 如果你不是是在windows上使用VMware进行的,可以忽略此步. 配置如下图: 1.查看CPU是否支持虚拟化: grep -E -o 'vmx|svm' /proc/cpuinfo VMX:它是Intel处理器虚拟机技术标志: SVM:它是AMD处理器虚拟机技术的标志. 注:linux发行版本必须在64bit环境中才能使用KVM. [[email protected] ~]# grep -E -o 'vmx|svm' /proc/cpuin

  • centos tomcat6安装 2013-06-20

    起初访问时,空白,无任何提示,log也不见有任何疑问 索性,yum remove tomcat6, 再yum install tomcat6 ok 要把附带的webapps 的demo都安装了 yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps 安装 64位jdk环境: yum list java-1.6.0-openjdk.x86_64 安装Apahce, PHP,以及php连接mysql库组件. #yum -y install

  • UBUNTU 9.10 install JDK1.6.0_18 and tomcat6.0.24 2010-02-03

    Download jdk-6u18-linux-i586.bin and apache-tomcat-6.0.24.zip (originally prepared under the cut. Gz, it may not know how happened, the next down gz compressed files is not complete, with the archive manager can not open, so I down a zip) Second, ins

  • centos5.5 install jdk1.6.21 and tomcat6.0.29 2010-08-18

    Before installing JAVA, you must first uninstall the JDK that comes with RHEL5 Uninstalling is as follows: rpm-qa | grep java The beginning of the file to uninstall java # Rpm-e - nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.112 (This file name is a co

  • Linux install configuration Jdk1.6 + Tomcat6 + Apache2.2.x + jk_mod1.2 Detailed 2010-10-20

    Linux install configuration Jdk1.6 + Tomcat6 + Apache2.2.x + jk_mod1.2 details Java code This to Redhat AS5, the kernel is Linux 2.6.18-8.el5 as an example, Redhat / Fedora basically the same series, the other version of Linux or both can refer to. S

  • In the linux configuration jdk1.6.x and tomcat6.0.x Summary (tutorial) [Original] 2010-12-20

    1 Download the appropriate package: JDK: http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u23-linux-i586.bin?BundledLineItemUUID = KZSJ_hCwroQAAAEsassAHPOf & OrderID = IeiJ_hCwQH0AAAEsYMsAHPOf

  • Installation under Linux configuration Jdk1.6 + Tomcat6 + Apache2.2.x + jk_mod1.2 Detailed 2010-10-20

    Installation under Linux configuration Jdk1.6 + Tomcat6 + Apache2.2.x + jk_mod1.2 details Java code This part to Redhat AS5, the kernel is Linux 2.6.18-8.el5 for example, which Redhat / Fedora series are basically the same, or other Linux versions fo