Environment Variables for Linux

Hi All
I am trying to set the Environement Variables on RHEL 5.2(64 Bit) for SM 7.0 Installation
- I have installed the RPM "IBMJava2-AMD64-142-SDK-1.4.2-11.0.x86_64.rpm"
- I have set the Environment Variable in .bash_profile file as below:
export JAVA_HOME=/opt/IBMJava2-amd64-142
expot PATH=$JAVA_HOME/bin:$PATH
Logged out of root and logged in, but I am not able to see the correct JAVA -Version
Its still showing the GNU version.
Can you please let me know that was correct ?
Thanks
Sri

You can simply use those commands in the shell that is open and in which you want to start the installation. There's no need to make this permanent for user "root".
Sapinst will configure the new users correctly with the correct PATH.
Markus

Similar Messages

  • Oracle Application Server Environment Variables for Linux

    Hello All,
    I have installed Oracle As (infratructure & middlie tire) on same box.
    10g Release 2 (10.1.2)
    Now I need to do post installation steps as below.
    ORACLE_HOME
    1) How to set to the full path of the installation's Oracle home?
    2) Do I need to also set ORACLE_HOME for middle tier?
    ORACLE_SID
    (Infrastructure installations only)
    3) How to set the OracleAS Metadata Repository SID supplied during installation?
    cheers,
    DN

    Hello,
    I have installed Oracle AS Infrastructure (10.1.2) and BI & Forms on our Linux box.
    Now I am doing some post installtion steps .
    Per Oracle® Application Server Quick Administration Guide 10g Release 2 (10.1.2) B14126-02
    \http://download-west.oracle.com/docs/cd/B14099_10/core.1012/b14126/toc.htm
    **Set to the full path of the installation's Oracle home
    ORACLE_HOME=/opt/oracle/infra; export ORACLE_HOME
    ** Set to the OracleAS Metadata Repository SID you supplied during installation.
    ORACLE_SID=orcl; export ORACLE_SID
    Is it the correct way to setup ORACLE_HOME & ORACLE_SID?
    Actually I have setup as above on Last thursday. (09-15-05)
    But when I have checked today (09-19-05) as
    echo $ORACLE_HOME
    I got nothing.same with SID, now I need to set again.
    DN

  • Change the environment variables for sid adm failed

    Hi Experts,
    I have installed ECC HA on AIX/ORACLE
    now i want to change the environment variables for the qr1adm user at the standby node
    i tried to change the /home/qr1adm/.profile with command
    vi  /home/qr1adm/.profile  it is changed  and i saved this changes.
    now I login with qr1adm user and i executed this command
    env |more
    it comes with the old values
    i don't know why?
    and if i oppened the .profile file i'm finding the new values
    So could you please tell me how can i change the environment variable for qr1adm user
    Thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 9:08 AM

    Thanks Sridhar ,
    which hostname?
    for example i have
    .dbenv_R3QASsvc.csh
    .sapenv_KFGKWERPR303.csh
    i want to tell you that R3QASsvc is the virtual hostname
    and KFGKWERPR303 is the name of the primary node A
    and the phiscal host name of node B is KFGKWERPR307
    so which one should i change it?
    thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 11:59 AM

  • The NLS_LANG environment variable for Form Builder 10g on Linux

    Hi,
    I have installed Oracle Developer Suite 10g on Linux Enterprise AS4 successfully,and set environment variable NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK",LANG="zh_CN.UTF-8".When i executed the following: /home/oracle/Orant/bin/frmbld
    I got the error as:
    X Error of failed request:BadFont(invalid Fond parameter)
    Major opcode of failed request:56(X_ChangeGC)
    Resource id in failed request:Ox2c000af
    Serial number of failed request:3376
    Current serial number in output stream 3517
    FRM-18122: ’Form Builder Debugger.
    If i delete the NLS_LANG environment variable,the Form Builder can be running,but i can't keyboard input[b] chinese characters in the PL/SQL Editor.
    I don't know how to solve the problem,anybody can help me?

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • Environment Variables for EBS 12.1

    Hello,
    I'm trying to install the Oracle EBS 12 into my machine and i'm wondering if i need to setup environment variables in the bash_profile. If i should configure this, please tell me what are those.
    Thanks
    AJ

    Hi Aj,
    You do not have to setup any environment variables, But you have to make sue you follow all the pre-requisites befor installing R12
    Depending on you operating system please see
    761566.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64
    761564.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86
    Thanks

  • Setting new environment variable on Linux

    {noformat}I need to set new environment variable on my linux machine from inside my code. I am using csh and the command works fine from command line:
    setenv IFConfigLocation4 /home/username/myfile.xml
    But when i try the same thing from Java code it does not seem to have any effect. here is my code:
    import java.util.*;
    import java.io.*;
    public class CDE_parser_methods{
    public static String fileParse(String inFile, String parserName, String outFile, String CMConfig_locale)
    String parsed = "SUCCESSFUL";
    System.out.println("Parsing file..." + "\nParser name: " + parserName +"\nInput file name: " + inFile + "\nOutput file name: " + outFile + "\nCMConfig file is: " + CMConfig_locale);
    System.out.println("Current Java version: " + System.getProperty("java.version"));
    try
              String cmd[]={"/bin/csh", "-c", "setenv IFConfigLocation4 " + CMConfig_locale};
              Process proc = Runtime.getRuntime().exec(cmd);
              int exitVal= proc.waitFor();
              System.out.println("Value of setenv command is: " + exitVal);
              String cmd2[]={"/bin/csh", "-c", "env"};
              Process proc2 = Runtime.getRuntime().exec(cmd2);
              InputStream instr = proc2.getInputStream();
              InputStreamReader inread = new InputStreamReader(instr);
              BufferedReader buf = new BufferedReader(inread);
              String line=null;
              while((line=buf.readLine()) != null)
                   System.out.println(line);
              int exitVal2= proc2.waitFor();
              }catch(CMException cme){
                   System.out.println("Issue when trying to executing parse command, details: " + cme.getMessage());
                   System.out.println("Description of the issue is: " + cme.getDescription());
                   parsed = "FAILURE: " + cme.getDescription();
              }catch(Exception e){
                   System.out.println("Uncought exception, details: " + e.getMessage());
                   parsed = "FAILURE: " + e.getMessage();
         return parsed;
    public static void main(String[] args) {
         String results=CDE_parser_methods.fileParse("/opt/itemfield/ServiceDB/Project2/Mapping_for_Account_Number_Structure_ITS_Input_File.xls","MappingforAccountNumberStructure","/opt/itemfield/ServiceDB/Project2/test_ws_44.xml","/home/rvenishe/CMConfig.xml");
         System.out.println("Result of fileParse call is: " + results);
         }The out put of my env command does NOT contain system variable "IFConfigLocation4". Any ideas? {noformat}

    Environment variables and their values set from within a user process has their scope and lifetime limited to the process and its subprocesses. See java.lang.ProcessBuilder class and its API documentation for setting env for a subprocess that will be started by a ProcessBuilder instance. Even in the C programming we have the same limitation for the environment.
    Since they are not globally set, system command like env or Java method like System.getenv() can't see them.

  • To setup environment variables in Linux like sqlplus, emctl etc

    Hi,
    how can setup environment variable like sqlplus, emctl, etc in Linux.
    what i mean is from any directory i should be able to invoke sqplus, emctl etc
    is this posisble in linux.
    THanks,
    Philip.

    Hi Hunter,
    this one worked great. this is really cool man.
    i also have a http server running for my htmldb forms/reports.
    i created a environment variable saying
    "HTTP_HOME=/home/oracle/oracle/product/10.2.0/http_1"
    i need to go to $HTTP_HOME/Apaceh/Apache/bin"
    and i give the command "./apachetcl start" for the http server to start running.
    how can i make this apachectl variable to work so that form any directoy i should be able to give "apachectl start" comand and it runs.
    Can u help me please.
    i think if i do this also i can get some more understanding.
    the command u gave worked great, but i did not understand the
    LD_LIBRARY_PATH and CLASSPATH. what are they for.
    Philip.

  • Need advice on Environment variables for DAC

    Hi,
    I have made the following changes to DAC_ENV.sh file in DAC folder.
    export PATH=$PATH:c:/Informatica/PowerCenter8.1.1/server/bin:c:/Informatica/PowerCenter8.1.1/server:.
    export PM_HOME=c:/Informatica/PowerCenter8.1.1/server
    export INFA_DOMAINS_FILE=c:/Informatica/PowerCenter8.1.1/domains.infa
    export PM_REPHOME=c:/Informatica/PowerCenter8.1.1/server/bin
    Later executed, . ./config.sh and noticed pmcmd is not getting invoked.
    Once i changed, PM_HOME to c:/Informatica/PowerCenter8.1.1/server/bin, pmcmd is getting invoked properly.
    But, i shouldn't specify 'INFA_HOME/server/bin' for PM_HOME as per the documentation, but somehow i was getting errors when i followed the instructions.
    Please let me know if it causes any issues going forward.
    Our version is, OBI 10.1.3.3.3
    Thanks,
    Raghu
    Message was edited by:
    Raghu K

    Yes. I found the instructions confusing too.
    The docs
    Oracle® Business Intelligence Applications Installation Guide for Informatica PowerCenter Users Version 7.9.5.1 Part Number E13765-01
    Chapter 4 Installing and Setting Up Oracle BI Applications
    Configuring the DAC Server
    Enabling DAC Server Communication with Informatica PowerCenter
    How to Verify the DAC Server Is Able to Use pmrep and pmcmd
    How to Set Environment Variables on UNIX or Linux
    says change from
    export PM_HOME=%INFORMATICA_SERVER_LOCATION%
    to
    export PM_HOME=/home/Informatica/PowerCenter8.1.1/server
    The actual file from the install of BIApps 7.9.5.1 cotains INFA_HOME not PM_HOME
    #Note1: %INFORMATICA_SERVER_LOCATION% denotes location of
    # Informatica PowerCenter Services installation.
    # Example: /home/Informatica/PowerCenter8.1.1/server
    export INFA_HOME=%INFORMATICA_SERVER_LOCATION%
    But, in any case, by following these instructions the environment is not set correctly
    pmrep/pmcmd both throw
    FATAL ERROR during initialization: Error initializing /data/app/oracle/product/10.1.3/bi_2/oraclebi/DAC/pmlocale.bin. Make sure the environment variable INFA_HOME is defined and set to where Informatica products are installed. Application terminated.
    A fix is to set INFA_HOME and not PM_HOME to the root of the home for informatica
    For example
    */home/Informatica/PowerCenter8.1.1*
    - not /home/Informatica/PowerCenter8.1.1/*server*,
    - not /home/Informatica/PowerCenter8.1.1/server/*bin*
    Now when you test pmcmd and pmrep it works :)
    For example,
    $ cat dac_env.sh | grep INFA_HOME
    export INFA_HOME=/data/app/oracle/product/8.1.1/informaticapowercenter_1
    $ . ./config.sh
    $ echo $PM_HOME
    $ echo $INFA_HOME
    /data/app/oracle/product/8.1.1/informaticapowercenter_1
    $ pmcmd
    Informatica(r) PMCMD, version [8.1.1 SP5], build [186.0822], LINUX 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Tue Mar 17 14:18:04 2009
    pmcmd> exit
    $ pmrep
    Informatica(r) PMREP, version [8.1.1 SP5], build [186.0822], LINUX 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    This Software may be protected by U.S. Patent Numbers 6,208,990; 6,044,374; 6,014,670; 6,032,158; 5,794,246; 6,339,775, 6,850,947; 6,895,471, and other U.S. Patents Pending.
    Invoked at Tue Mar 17 14:18:09 2009
    pmrep>exit

  • Build error on using  environment variable for  CS5 on Mac

    I have created a sample project using dollyx on Mac for CS5 . I have used an environment variable and defined it in Source tree of XCode preferences.
    I am using snow leapard  and my XCode version is 3.2.2 .
    I have defined variable as IDSDK7  for /idsdk7 (which is my SDK directory). I am creating project outside SDK . While creating project with DollyX  , I am giving  SDK's path as $(IDSDK7) which is absolute path and not relative with respect to the project .
    I am getting many build errors  -----
    /idsdk7/external/afl/includes/AErrors.h:31:0 /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    /idsdk7/source/public/includes/K2Debugging.h:53:0 /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    /idsdk7/source/public/includes/PMString.h:34:0 /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:120:0 /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196:0 /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/WideString.h:322:0 /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751:0 /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/IDFile.h:385:0 /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/InterfacePtr.h:506:0 /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/K2Vector.h:241:0 /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /CS5Test/Prj/../Source/CTActionComponent.cpp:0:0 /CS5Test/Prj/../Source/CTActionComponent.cpp: At global scope:
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than the type of its field 'CTActionComponent::<anonymous>'
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than its base 'CActionComponent'
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o ../Source/CTNoStrip.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTNoStrip.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o ../Source/CTID.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTID.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypoint.o /idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypo int.o
    i686-apple-darwin10-gcc-4.2.1: /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
    i686-apple-darwin10-gcc-4.2.1: no input files
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Without using environment variable everything works fine . (i.e when I give SDK's dir path like ../../  i.e relative to my project)

    There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
    Just posting here for reference. Let's see if we get a different answer from anyone else.

  • Environment Variables for Visual Basic Clients

    How does one set the environment variables when writing clients in Visual Basic.
    I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead of
    setting them in the Control Panel
    Thanks

    Hello,
    I don't know too much about Visual Basic, but if you can bind to the Tuxedo C
    functions from VB I'd suggest you simply call the tuxputenv() function a couple
    of times to setup the environment for your process.
    Hope this helps,
    /Per
    "Gaurang" <[email protected]> wrote:
    >
    How does one set the environment variables when writing clients in Visual
    Basic.
    I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead
    of
    setting them in the Control Panel
    Thanks

  • Environment variables for Java

    Hi,
    I installed jdk1.6.0_02 from Sun, and set the following environment variables:
    export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:*/home/username/jdk1.6.0_02/bin*
    export LD_LIBRARY_PATH=/home/username/jdk1.6.0_02/lib
    export JAVA_HOME=/home/username/jdk1.6.0_0
    I issue the following commands:
    which javac
    */home/username/jdk1.6.0_02/bin/javac*
    which java
    */usr/bin/java*
    why is it referring to */usr/bin/java* instead of */home/username/jdk1.6.0_02/bin/java*
    How can I solve this problem under Ubuntu 8.04.
    Thank you in advance,
    --Blaise
    Edited by: Blaize on Jul 19, 2008 5:49 AM

    Blaize wrote:
    Ok */ust/bin* is needed in the PATH. Why it affected java but not javac then?
    Provide an instructive solution or an instructive comment if you have.I should have thought it would have been fairly obvious that it was because javac was not in /usr/bin (and that it would have been just as easy to be certain, i.e. type "ls /usr/bin/javac"), but I guess not.
    I also would have thought, that it should be fairly obvious that a search path will always be read in a specific order (after all that is one of the reasons to have one, so that command searches aren't random), and, extrapolating from there, that it should be fairly obvious, considering the problem observed, that that search order was from left to right, but again, I guess not.
    Use your head for something other than a paper weight, and maybe you wouldn't need to become either defensive or aggresive, but, once again, that must be something that's beyond you.
    Learn how to type "How to configure path environment variable" into Google, and maybe the same would apply, but, once again, that is probably something that's beyond you.

  • Environment variables for j2ee1.4sdk on windows xp home

    Hello,
    I have just installed J2EE 1.4 SDK on Microsoft Windows XP Home, and everything went fine. I can start the Apache Server and run the demos. But I installed it to be able to compile own code!
    So now abaout my problem: The installation guide says I should set some environment variables. But I dont know what paths to set the variables to!
    The installation program has created a directory "C:\Sun". That directory contains only one subdirectory: "C:\Sund\AppServer". In that directory are, among others, a subdirectoy "bin" which includes some ".bat" files like "asant.bat", and a subdirectory "jdk", which also includes an own subdirectory "bin" with the well-known executables "java.exe", "javac.exe" and some more executables.
    What environment variables do I have to set, and to which values??? "http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html" says:
    In order to run the asant scripts, you must configure your environment and properties files as follows:
    * Add <JAVA_HOME>/bin to the front of your path.
    * Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) override other installations.
    * Set the j2ee.home property in the file <INSTALL>/j2eetutorial14/examples/common/build.properties to the location of your J2EE Application Server installation. The build process uses the j2ee.home property to include the J2EE library archive, <J2EE_HOME>/lib/j2ee.jar, in the classpath. If you wish to use an IDE or the javac compiler to build J2EE applications, you must add this JAR to your classpath.
    - so do I only have to set the %PATH% variable or also %CLASSPATH% manually?
    - what directories do I have to set the variables to according to my directory structure as described above?
    Thanks in advance! :)
    yours sincerely,
    Stefan

    Instructions you are reading are relevant for J2EE 1.4 tutorial samples - if you want to compile and deploy your own code you don't have to go through all the steps described in tutorial documentation.
    Based on the information you provided about your installation you should do the following in order to compile your own code:
    * add C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin; at the beginning of your existing PATH
    (you don't have to add C:\Sun\AppServer\share\bin for the simple reason that it does not exist anymore in this release and its content got moved into C:\Sun\AppServer\bin)
    * in order to compile your code, you must make sure that C:\Sun\AppServer\lib\j2ee.jar is in your classpath - how are you going to achieve that depends on the development environment you are using
    Hope this helps...

  • Environment variables for SQLPLUS

    I am unable to connect to SQLPLUS..What are the environment variables i have to set in .profile for connecting SQLPLUS....
    Thanks

    Hmmmm
    Make sure ORACLE_HOME is set.
    export ORACLE_HOME=somedirectory/oracle/product/10.2.0/db_1
    could easily be client_1. Those tend to be the defaults. I have seen /ora01/app/oracle used in the beginning. /u01. It all depends.
    Once set, then update your path to have the binaries directory.
    export PATH=$PATH:$ORACLE_HOME/bin
    Source it as the oracle user.
    . ~/.profile
    Then sqlplus /nolog
    connect username/password@tnsentry

  • WinPE Environment Variable for Boot Media

    I would like to reference a file located on a WinPE CD after the Preinstall Environment is loaded.  Is there an Environment Variable that will allow me to directly access the PE disk?

    Got a great answer over at Stack Overflow!  If the MediaType property doesn't work for you (if there is more than one removable disk) you could potentially use the VolumeName property.  The solution ended up being a startnet.cmd with just the wpeinit command and a call out to this VBS.  After the VBS detects the booted disk, I sent the drive letter back out to the imaging CMD script as a parameter.
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colDisks = objWMIService.ExecQuery("Select * from Win32_LogicalDisk where MediaType = 2")
    For Each objDisk in colDisks
        Wscript.Echo objDisk.DeviceID & objDisk.Description
    Next

  • Oracle Environment Variables on Linux

    Hi,
    First, I'll admit that I'm very, very new to Linux.  I'm running Oracle Database XE 11g R2 on a virtual machine (Virtualbox) that is running Oracle Enterprise Linux 6.  Whenever I open a terminal window and set ORACLE_HOME, PATH, and ORACLE_SID, I can easily access SQLPlus, simply by typing "SQLPlus".  However, if I close that window and then open another terminal window, I cannot access SQLPlus, simply by typing "SQLPlus".  I have to re-specify the environment variables first.
    I'm sure that this is something simple but my lack of Linux experience is keeping me from finding the issue.  Also, I've not found any documentation that helps but please point me to it if I've missed it.
    Thanks,
    Brian

    You can also set your environment by using a shell script that comes with the XE default installation:
    # source /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
    There's also a backup script.
    # /u01/app/oracle/product/11.2.0/xe/config/scripts/backup.sh
    assuming that you've installed the XE instance in the default path /u01
    C.

Maybe you are looking for