Configuring JAVA environment variables under SUSE Linux system BASH

  
                          In the installation process of the IPTV system, there are certain requirements for the java version (generally 1.4.2 or higher). You can modify the environment variables directly in the Windows system. However, when installing EPG, the newly created EPG user uses bash. After installing the new version of jdk, you need to modify and execute the .profile file to achieve the purpose of modifying the environment variables. The instruction book "EPG Deployment Guide (D712)_Linux" says that you only need to add "export JAVA_HOME=/opt/j2sdk-1_4_2_10" to the .profile file. Install jdk, modify the .profile file, execute the java -version command after source, and still return the version of java 1.3 (the java version that comes with the system). Jdk download address: https://jsecom16a.sun.com/ECom/EComActionServlet; jsessionid=5EB0376E1C11ED8FEC282EE0DAF5FE1F, but it is recommended to use formal channels to obtain, such as support website, yf-ftp. Also, 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/
Copyright © Windows knowledge All Rights Reserved