Configure JAVA environment variables in BASH of SUSELinux system

Source: Internet
Author: User
& Nbsp; in the installation process of the IPTV system, there are many requirements for the java version (generally 1.4.2 or later ). In Windows, you can directly modify the environment variables. However, when installing EPG, the new EPG user uses bash. after installing the new jdk Version, modify and execute the. profile file to modify the environment variable.  

During the installation of the IPTV system, the java version is usually higher than 1.4.2 ). In Windows, you can directly modify the environment variables. However, when installing EPG, the new EPG user uses bash. after installing the new jdk Version, modify and execute the. profile file to modify the environment variables. Guide EPG start installation guide (D712) _ Linux "said only need to add" export JAVA_HOME =/opt/j2sdk-1_4_2_10 "in the. profile file, save and source. Install jdk, modify the. profile file, run the java-version command after source, and return the java 1.3 version (the built-in java version ).

Jdk: Release.

If you change the java version, you should also modify the following environment variables:

        
         JRE_HOME=/home/epg/j2sdk1.4.2_10/jrePATH=/home/epg/j2sdk1.4.2_10/:/home/epg/j2sdk1.4.2_10/bin/:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin:/opt/gnome/binJAVA_BINDIR=/home/epg/j2sdk1.4.2_10/JAVA_HOME=/home/epg/j2sdk1.4.2_10/SDK_HOME=/home/epg/j2sdk1.4.2_10/javaJDK_HOME=/home/epg/j2sdk1.4.2_10/JAVA_ROOT=/home/epg/j2sdk1.4.2_10/
        

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.