This is default featured slide 1 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.

This is default featured slide 2 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.

This is default featured slide 3 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.

This is default featured slide 4 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.

This is default featured slide 5 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.

  

Thursday, June 30, 2011

Setting the PATH and JAVA_HOME Variable (linux)

Use

The PATH variable is a list of directories where the system looks for commands when trying to execute them. To make use of the tools provided by JDK, the directory containing Java executables has to be added to the system PATH variable. This is essential for launching the installation procedure.

Procedure

The PATH variable has to be set through the system environment variable. To set the PATH variable:

  1. Go to etc/ and open profile in any text editor.
  2. Go to the end of the profile file and add the commands as shown in step 3.
  3. Add the System variable JAVA_HOME by writing:
    JAVA_HOME=/Your Java directory here
    export JAVA_HOME

  4. Add the System variable PATH and add %JAVA_HOME%\bin to the PATH variable by writing this:
    PATH=$PATH:$JAVA_HOME/bin
    export PATH
  5. Complete text added by you should look like this:

    JAVA_HOME=/Your Java directory here
    export JAVA_HOME
    PATH=$PATH:$JAVA_HOME/bin
    export PATH
  6. Save profile file and exit the text editor and restart your server.

Setting the PATH and JAVA_HOME Variable (Windows)

Use

The PATH variable is a list of directories where the system looks for commands when trying to execute them. To make use of the tools provided by JDK, the directory containing Java executables has to be added to the system PATH variable. This is essential for launching the installation procedure.

Procedure

The PATH variable has to be set through the system environment variable. To set the PATH variable:

  1. Choose Start ® Settings ® Control Panel.
  2. Choose System ® Advanced ® Environment Variables (on Windows 2000) or System ® Environment (on Windows NT)
  3. Add the System variable JAVA_HOME with the value ( is the directory that contains the JDK).
  4. Select the System variable PATH and add %JAVA_HOME%\bin to the PATH variable separated from the previous path by a semicolon.

Source: http://help.sap.com/crmcg_en/d1/81763c9220114be10000000a11402f/content.htm

Java 2 SDK for SAP Customers

Question

How to download Java 1.4.2 for the x64 platform

Solution

The Java 2 SDK, Standard Edition x64 1.4.2 can be obtained from
the following location:

http://java.com/en/javaforbusiness/sap_download.jsp

Please note:

  • This version of the J2SE 1.4.2 SDK is strictly for use by SAP customers along with SAP software products. You will need a Sun Online Account (Registration is free and can be performed on the web page to which the download link points).
  • Please see SAP note 716604 for the currently recommended J2SE 1.4.2 update release (e.g. 1.4.2_27).
  • There is no need to uninstall any other (newer) Java software that may be installed on your server.
  • Any support requests should be directed to SAP support channels.

---
Source: Sap Note# 941595