System Environment

How to get system environment from the Java. For exapmle - I have defines my own application path using Control Panel->System variable. I want to get that value throw java program without using JNI.
For Example - I setted MYPATH=C:\MyApp\Test as a System variable. How tou get this value "C:\MyApp\Test" using the "MYPATH" keyword from Java.
Thanks in advance,
Santa

Try this: (i assume we are talking about MS windows, right?):
import java.io.*;
public class Main {
  public static void main(String[] args) throws Exception {
    String envvar = "PATH";
    Process p = Runtime.getRuntime().exec("cmd /c echo %" + envvar + "%");
    InputStream in = p.getInputStream();
    byte[] buffer = new byte[256];
    int bytesRead = in.read(buffer);
    while (bytesRead != -1) {
      System.out.print(new String(buffer, 0, bytesRead));
      bytesRead = in.read(buffer);
    p.destroy();
}That's ugly, i know, but it works for Win2000 (and other versions of windows i think)

Similar Messages

  • Referencing a system environment variable

    Hi all,
    I am attempting to reference a system environment variable in an OS command within a package. However, it continues to error out with the generic "Wrong process return code" error. For now, I am assuming this is due to my reference to a system variable in the file path.
    Note: when I'm directly on the ODI server and type in the exact same command into a command window, it works fine. It doesn't work when I call it from the generated scenario, via the Operator client on my computer.
    Here is an example of my call line:
    essmsh.exe %SysVarName%\somefile.mxl
    Does anyone know how to reference the system environment variable correctly? Or...is there a better way to accomplish the same task?
    Thanks!
    -OS

    Thank you for your response, Ankit!
    Yes, essmsh.exe must be visible to the agent, because if I replace the reference to the system variables with hard-coded values, the scenario executes with no error.
    I am not familiar with Jython procedures, and I am hesitant to create any as the there is no one on the team who can support them. Is there no direct reference one can use directly from the package/scenario? It seems odd that there is no current way to handle this, but perhaps I am naive.

  • Windows System Environment Variables in "Sql * plus"

    Can i use/reference Windows System Environment variables in "Sql * plus"?
    For example, i want to create sql-script to run in database server computer that asks variable "ORA_HOME" and uses this value to execute some sql/plsql sentences.
    Oracle 10g Personal, Windows 7.
    Edited by: CharlesRoos on 12.11.2010 17:28

    CharlesRoos wrote:
    Business problem:
    I have created 2 databases in my computer. Both databases needs tablespaces created by a script. Tablespaces' datafiles (.dbf files) names are same for both database. Both database has it's own directory where it holds datafiles at the moment. At the moment the datafiles for Database1 are in folder something like "%ORACLE_HOME%"\oradata\%databasename1%\*.dbf, and second database has its datafiles in other folder, somewhere ""%ORACLE_HOME%"\oradata\%databasename1%\*.dbf". I want now the script to create tablespace called "INDX" with same datafile name "indx1.dbf" into both database. So into both mentioned folder the file "indx1.dbf" must be created by script. I think the script should do following:
    1. get ORACLE_HOME.
    2. connect to database "databasename1"
    3. EXECUTE IMMEDIATE "Create TableSpace INDX....file=%ORACLE_HOME% || databasename1 || indx1.dbf"
    4. connect to database "databasename2"
    5. EXECUTE IMMEDIATE "Create TableSpace INDX....file=%ORACLE_HOME% || databasename2 || indx1.dbf"I don't have Oracle database near by anymore, so the code was pseudocode.
    I don't understand how to use ?-shortcut.OK, my first impression is "why does this even NEED to be scripted? Creation of new tablespaces is usually a one-off operation.
    But that aside how about this sqlplus command-line substitution variables. This example is in linux, but will work as well in Windows with the change of the way environment variables are referenced:
    *nix - echo $myvariable
    Windows - echo %myvariable%
    First, the sqlscript to create the TS. Note the use of the substitution variable "&1"
    {code}
    [oracle@vmlnx01 ~]$ cat cat makets.sql
    set echo on feedback on verify on trimsp on
    prompt &1
    CREATE SMALLFILE TABLESPACE EDSTEST
    DATAFILE '/ora01/oradata/&1/edstest.dbf'
    SIZE 5M
    REUSE
    AUTOEXTEND ON
    NEXT 1280K
    MAXSIZE 32767M
    LOGGING
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO
    drop tablespace edstest
    including contents and datafiles
    exit
    {code}
    So, at the OS prompt: Notice that the @ is separated by a space, makeing it a command line parm instead of part of the connect string
    {code}
    [oracle@vmlnx01 ~]$ export myparm=vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus system/pswd @makets $myparm
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Nov 12 13:18:05 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> prompt &1
    vlnxora1
    SQL> --
    SQL> CREATE SMALLFILE TABLESPACE EDSTEST
    2 DATAFILE '/ora01/oradata/&1/edstest.dbf'
    3 SIZE 5M
    4 REUSE
    5 AUTOEXTEND ON
    6 NEXT 1280K
    7 MAXSIZE 32767M
    8 LOGGING
    9 EXTENT MANAGEMENT LOCAL
    10 SEGMENT SPACE MANAGEMENT AUTO
    11 ;
    old 2: DATAFILE '/ora01/oradata/&1/edstest.dbf'
    new 2: DATAFILE '/ora01/oradata/vlnxora1/edstest.dbf'
    Tablespace created.
    SQL> --
    SQL> drop tablespace edstest
    2 including contents and datafiles
    3 ;
    Tablespace dropped.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@vmlnx01 ~]$
    {code}

  • Unable to access value in System Environment Variable using Java

    I am using Java code to get the value of a System Environment Variable using the Runtime, Process java classes.
    The code works fine in tomcat, but when deployed in 9ias the code is unable to retrieve the value stored in the System environment variable in Windows 2000.

    Thanks for the comment steve, here is the code which i am using.
         public String getEnvironmentVariable()
                   // This will get the FEDREP_HOME environment variable
                   String FEDREP_HOME = null;
                   Process p = null;
                   Runtime rt = Runtime.getRuntime();
                        try {
                             // invokes a shell-command to retrieve FEDREP_HOME variable
                             String OS = System.getProperty("os.name").toLowerCase();
                                  // Get the Windows 95 environment variable
                                  if (OS.indexOf("windows 9") > -1)
                                            p = rt.exec( "command.com /c echo %FEDREP_HOME%" );
                                  // Get the Windows NT environment variable
                                  else if (OS.indexOf("nt") > -1)
                                            p = rt.exec( "cmd.exe /c echo %FEDREP_HOME%" );
                                  // Get the Windows 2000 environment variable
                                  else if (OS.indexOf("2000") > -1)
                                            p = rt.exec( "cmd.exe /c echo %FEDREP_HOME%" );
                                  // Get the Windows XP environment variable
                                  else if (OS.indexOf("xp") > -1)
                                            p = rt.exec( "cmd.exe /c echo %FEDREP_HOME%" );
                                  // Get the unix environment variable
                                  else if (OS.indexOf("linux") > -1)
                                            p = rt.exec( "sh -c echo $FEDREP_HOME" );
                                  // Get the unix environment variable
                                  else if (OS.indexOf("unix") > -1)
                                            p = rt.exec( "sh -c echo $FEDREP_HOME" );
                                  // Get the unix environment variable
                                  else if (OS.indexOf("sunos") > -1)
                                            p = rt.exec( "sh -c echo $FEDREP_HOME" );
                                  } else
                                            System.out.println("OS not known: " + OS);
                             // set up to read subprogram output
                             InputStream is = p.getInputStream();
                             InputStreamReader isr = new InputStreamReader(is);
                             BufferedReader br = new BufferedReader(isr);
                             // read output from subprogram
                             FEDREP_HOME = br.readLine();
                             br.close();
                        } catch(Exception ex)
                                  System.out.println("Error when getting FEDREP_HOME environment variable");
                                  ex.printStackTrace();
              return(FEDREP_HOME);

  • Which Oracle folders into "PATH" system Environment Variable

    Which Oracle folders must exist into "PATH" system Environment Variable in Windows OS?
    The folders must contain Oracle command line utilities, like "sql * plus", "exp" and so on.

    The path to your bin folder ...
    for eg :
    D:\oracle\product\10.2.0\db_1\bin;Cheers :)
    Renjith Madhavan

  • How to get system Environment variable?

    How to get system Environment variable without using jni?
    just like "JAVA_HOME" or "PATH"...
    Any reply is help to me!! :-)

    Thx for your reply...
    I get it!!!
    Read environment variables from an application
    Start the JVM with the "-D" switch to pass properties to the application and read them with the System.getProperty() method. SET myvar=Hello world
    SET myothervar=nothing
    java -Dmyvar="%myvar%" -Dmyothervar="%myothervar%" myClass
    then in myClass String myvar = System.getProperty("myvar");
    String myothervar = System.getProperty("myothervar");
    This is useful when using a JAVA program as a CGI.
    (DOS bat file acting as a CGI) java -DREQUEST_METHOD="%REQUEST_METHOD%"
    -DQUERY_STRING="%QUERY_STRING%"
    javaCGI
    If you don't know in advance, the name of the variable to be passed to the JVM, then there is no 100% Java way to retrieve them.
    NOTE: JDK1.5 provides a way to achieve this, see this HowTo.
    One approach (not the easiest one), is to use a JNI call to fetch the variables, see this HowTo.
    A more low-tech way, is to launch the appropriate call to the operating system and capture the output. The following snippet puts all environment variables in a Properties class and display the value the TEMP variable. import java.io.*;
    import java.util.*;
    public class ReadEnv {
    public static Properties getEnvVars() throws Throwable {
    Process p = null;
    Properties envVars = new Properties();
    Runtime r = Runtime.getRuntime();
    String OS = System.getProperty("os.name").toLowerCase();
    // System.out.println(OS);
    if (OS.indexOf("windows 9") > -1) {
    p = r.exec( "command.com /c set" );
    else if ( (OS.indexOf("nt") > -1)
    || (OS.indexOf("windows 2000") > -1 )
    || (OS.indexOf("windows xp") > -1) ) {
    // thanks to JuanFran for the xp fix!
    p = r.exec( "cmd.exe /c set" );
    else {
    // our last hope, we assume Unix (thanks to H. Ware for the fix)
    p = r.exec( "env" );
    BufferedReader br = new BufferedReader
    ( new InputStreamReader( p.getInputStream() ) );
    String line;
    while( (line = br.readLine()) != null ) {
    int idx = line.indexOf( '=' );
    String key = line.substring( 0, idx );
    String value = line.substring( idx+1 );
    envVars.setProperty( key, value );
    // System.out.println( key + " = " + value );
    return envVars;
    public static void main(String args[]) {
    try {
    Properties p = ReadEnv.getEnvVars();
    System.out.println("the current value of TEMP is : " +
    p.getProperty("TEMP"));
    catch (Throwable e) {
    e.printStackTrace();
    Thanks to W.Rijnders for the W2K fix.
    An update from Van Ly :
    I found that, on Windows 2003 server, the property value for "os.name" is actually "windows 2003." So either that has to be added to the bunch of tests or just relax the comparison strings a bit: else if ( (OS.indexOf("nt") > -1)
    || (OS.indexOf("windows 2000") > -1 )
    || (OS.indexOf("windows 2003") > -1 ) // works but is quite specific to 2003
    || (OS.indexOf("windows xp") > -1) ) {
    else if ( (OS.indexOf("nt") > -1)
    || (OS.indexOf("windows 20") > -1 ) // probably is better since no other OS would return "windows" anyway
    || (OS.indexOf("windows xp") > -1) ) {
    I started with "windows 200" but thought "what the hell" and made it "windows 20" to lengthen its longivity. You could push it further and use "windows 2," I suppose. The only thing to watch out for is to not overlap with "windows 9."
    On Windows, pre-JDK 1.2 JVM has trouble reading the Output stream directly from the SET command, it never returns. Here 2 ways to bypass this behaviour.
    First, instead of calling directly the SET command, we use a BAT file, after the SET command we print a known string. Then, in Java, when we read this known string, we exit from loop. [env.bat]
    @set
    @echo **end
    [java]
    if (OS.indexOf("windows") > -1) {
    p = r.exec( "env.bat" );
    while( (line = br.readLine()) != null ) {
    if (line.indexOf("**end")>-1) break;
    int idx = line.indexOf( '=' );
    String key = line.substring( 0, idx );
    String value = line.substring( idx+1 );
    hash.put( key, value );
    System.out.println( key + " = " + value );
    The other solution is to send the result of the SET command to file and then read the file from Java. ...
    if (OS.indexOf("windows 9") > -1) {
    p = r.exec( "command.com /c set > envvar.txt" );
    else if ( (OS.indexOf("nt") > -1)
    || (OS.indexOf("windows 2000") > -1
    || (OS.indexOf("windows xp") > -1) ) {
    // thanks to JuanFran for the xp fix!
    p = r.exec( "cmd.exe /c set > envvar.txt" );
    // then read back the file
    Properties p = new Properties();
    p.load(new FileInputStream("envvar.txt"));
    Thanks to JP Daviau
    // UNIX
    public Properties getEnvironment() throws java.io.IOException {
    Properties env = new Properties();
    env.load(Runtime.getRuntime().exec("env").getInputStream());
    return env;
    Properties env = getEnvironment();
    String myEnvVar = env.get("MYENV_VAR");
    To read only one variable : // NT version , adaptation for other OS is left as an exercise...
    Process p = Runtime.getRuntime().exec("cmd.exe /c echo %MYVAR%");
    BufferedReader br = new BufferedReader
    ( new InputStreamReader( p.getInputStream() ) );
    String myvar = br.readLine();
    System.out.println(myvar);
    Java's System properties contains some useful informations about the environment, for example, the TEMP and PATH environment variables (on Windows). public class ShowSome {
    public static void main(String args[]){
    System.out.println("TEMP : " + System.getProperty("java.io.tmpdir"));
    System.out.println("PATH : " + System.getProperty("java.library.path"));
    System.out.println("CLASSPATH : " + System.getProperty("java.class.path"));
    System.out.println("SYSTEM DIR : " +
    System.getProperty("user.home")); // ex. c:\windows on Win9x system
    System.out.println("CURRENT DIR: " + System.getProperty("user.dir"));
    Here some tips from H. Ware about the PATH on different OS.
    PATH is not quite the same as library path. In unixes, they are completely different---the libraries typically have their own directories. System.out.println("the current value of PATH is: {" +
    p.getProperty("PATH")+"}");
    System.out.println("LIBPATH: {" +
    System.getProperty("java.library.path")+"}");
    gives the current value of PATH is:
    {/home/hware/bin:/usr/local/bin:/usr/xpg4/bin:/opt/SUNWspro/bin:/usr/ccs/bin:
    /usr/ucb:/bin:/usr/bin:/home/hware/linux-bin:/usr/openwin/bin/:/usr/games/:
    /usr/local/games:/usr/ccs/lib/:/usr/new:/usr/sbin/:/sbin/:/usr/hosts/:
    /usr/openwin/lib:/usr/X11/bin:/usr/bin/X11/:/usr/local/bin/X11:
    /usr/bin/pbmplus:/usr/etc/:/usr/dt/bin/:/usr/lib:/usr/lib/lp/postscript:
    /usr/lib/nis:/usr/share/bin:/usr/share/bin/X11:
    /home/hware/work/cdk/main/cdk/../bin:/home/hware/work/cdk/main/cdk/bin:.}
    LIBPATH:
    {/usr/lib/j2re1.3/lib/i386:/usr/lib/j2re1.3/lib/i386/native_threads:
    /usr/lib/j2re1.3/lib/i386/client:/usr/lib/j2sdk1.3/lib/i386:/usr/lib:/lib}
    on my linux workstation. (java added all those execpt /lib and /usr/lib). But these two lines aren't the same on window either:
    This system is windows nt the current value of PATH is:
    {d:\OrbixWeb3.2\bin;D:\jdk1.3\bin;c:\depot\cdk\main\cdk\bin;c:\depot\
    cdk\main\cdk\..\bin;d:\OrbixWeb3.2\bin;D:\Program
    Files\IBM\GSK\lib;H:\pvcs65\VM\win32\bin;c:\cygnus
    \cygwin-b20\H-i586-cygwin32\bin;d:\cfn\bin;D:\orant\bin;C:\WINNT\system32;C:\WINNT;
    C:\Program Files\Dell\OpenManage\Resolution Assistant\Common\bin;
    d:\Program Files\Symantec\pcAnywhere;
    C:\Program Files\Executive Software\DiskeeperServer\;C:\Program Files\Perforce}
    LIBPATH:
    {D:\jdk1.3\bin;.;C:\WINNT\System32;C:\WINNT;d:\OrbixWeb3.2\bin;D:\jdk1.3\bin;
    c:\depot\cdk\main\cdk\bin;c:\depot\cdk\main\cdk\..\bin;
    d:\OrbixWeb3.2\bin;D:\Program Files\IBM\GSK\lib;
    H:\pvcs65\VM\win32\bin;c:\cygnus\cygwin-b20\H-i586-cygwin32\bin;d:\cfn\bin;
    D:\orant\bin;C:\WINNT\system32;
    C:\WINNT;C:\Program Files\Dell\OpenManage\ResolutionAssistant\Common\bin;
    d:\Program Files\Symantec\pcAnywhere;
    C:\Program Files\Executive Software\DiskeeperServer\;C:\Program Files\Perforce}

  • Alert in ccBPM - Getting System Environment

    Hello,
    I am triggering an alert in ccBPM in case a certain data related issue occurs. The system environment should be included in the alert text too. It should be possible to distinguish alerts that are sent from production or stage/development to avoid confusion when alerts are triggered from the development system.
    Problem is that the sender system obviously cannot be directly accessed in ccBPM. It would be possible of course to set the sender system in the message payload before the message is sent to the integration process. However I do not want to manipulate the payload in this way as it is sent 1:1 in the process to a receiver system. Is there any efficient and easy way to retrieve a value that clearly identifies the system environment?
    Thank you very much for your advice and input on that topic.

    I do not get the additional link in the alert message. Obviously it is not sent in case alerts are triggered from ccBPM using
    dynamic text.
    Yes you dont get the link as we get in normal alert messages (Alert from AE/ IE...configured in RWB)
    I have also tried to retrieve the sender system using an additional transformation step, but it seems to be that the sender
    cannot be retrieved from within ccBPM.
    No it cannot be accessed in BPM....it should be accessed outside BPM only.
    The only possibility I currently see is to retrieve the sender in a mapping that is executed before the integration process.
    But as said I do not want to change the payload of the message.
    There is no workaround for this....get the value in some payload and then use it in the BPM....while sending the message to the receiver remove this value (one more mapping would be required then)
    Regards,
    Abhishek.

  • Benefits of RAC in large systems environment

    Hi All,
    One query regarding RAC
    In a large systems environment where multiple CPUs and memory are dynamically available to be deployed for a database server, what are the benefits of a RAC implementation? Obviously no single point of failure is eliminated but how else is performance improved?
    Thanks
    Edited by: user10394804 on Aug 10, 2009 1:17 AM

    A clustered system either DB or the system(OS) or any other form of clustering is designed for high availabilty only and not for performance improvement.
    Please keep in mind that you need to check the performance of 2 clusterd and non-clusterd systems with the same level hardware and OS resources.
    If your application is performing at level 'X' with 4 CPU and 4 GB RAM on a non-clusterd machine then its performance cannot be matched with the 2 machines with 4 CPU each and 4 GB RAM each, because thats the double the resources than available in non-clusterd machince.
    Also just keep one more thing in mind that with the same resources now distributed in clustered nodes (ie 2 nodes with 2 CPU and 2 GB RAM v/s 1 node with 4 CPU and 4 GB ram), the single node will alawys perform better because there will be no inter-connect overhead that is there in RAC systems.
    Amar.

  • Reading Operationg System Environment Variables

    How can i read Operating System environment variables for examples in Windows without using java -D option
    just to simply get the value from windows enviroment variables settings... such as "MyApp"
    is there a way i can get the value using java???
    need something that is backward compatible ... like between jdk version 1.2.2 to 1.3.1???
    help...
    :~(
    Thanks in Advance,
    Cheah

    Some ugly hack like using Runtime.getRuntime().exec("echo %wasteoftime%") and examining its output might work.

  • Setting persitent system environment variables using java program

    hai,
    Iam tryng to write installation for an application,which require to set some persistent system environment variables using java program. I have tried using set command Runtime.getRuntime().exec("cmd /c set blah blah "),but this applies only to that particular DOS promt only,i presume.And this is not perisistent.please do help.
    Biju

    The solution I proposed worked only on Windows XP/2003.
    The following solution will work on Windows NT/2000/XP/2003 with JDK 1.2+.
    1- Download the [url http://www.gjt.org/download/time/java/jnireg/registry-3.1.3.zip]JNIRegistry zipped archive.
    2- Open the registry-3.1.3.zip file and extract in the folder of your choice ( Eg. c:\setenv ) only the 2 first files (when sorted by path): ICE_JNIRegistry.dll and registry.jar.
    You don't need to keep the folder tree in the extraction.
    3- Create the following SetEnv.java file in the same folder ( Eg. c:\setenv ).
    import com.ice.jni.registry.Registry;
    import com.ice.jni.registry.RegistryKey;
    import com.ice.jni.registry.RegStringValue;
    import com.ice.jni.registry.RegistryValue;
    public class SetEnv
        static final String REG_HKLM_SUBKEY_NAME = "SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment";
        public static void main(String[] args)
        throws Exception
            new SetEnv().exec(args);
        void exec(String[] args)
        throws Exception
            if (args.length != 2)
                throw new IllegalArgumentException("\n\nUsage: java SetEnv {varName} {varValue}\n\n");
            String varName = args[0];
            String varValue = args[1];
            RegistryKey key = null;
            RegStringValue value;
            try
                key = Registry.HKEY_LOCAL_MACHINE.openSubKey(REG_HKLM_SUBKEY_NAME, RegistryKey.ACCESS_ALL);
                value = new RegStringValue(key, varName, RegistryValue.REG_EXPAND_SZ);           
                value.setData(varValue);
                key.setValue(value);
                key.flushKey();
            finally
                try { key.closeKey(); }
                catch (Exception e) {}
    }4- Compile it.
    javac -classpath .;registry.jar SetEnv.java
    5- Run it. varName and varValue are strings of your choice.
    java -classpath .;registry.jar -Djava.library.path=. SetEnv varName varValue

  • Backing Up System Environment Variables

    How do I backup system variables on a Windows machine? Are HYPERION_HOME and EPM_ORACLE_HOME system variables the same?

    If this is windows then I find the best way is to either backup the registry or part of the registry, environment variables are stored in the registry at :-
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    So if you go to start > run > regedit > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment > right click export, it will save it out to a registry file.
    The registry can also be exported from command line , for example go to a command prompt and type
    REG EXPORT /?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I download my entire development from a system environment

    Hi @ll,
    The system I was developing on will be refreshed shortly and I need to save my function group, functions, fields,...
    Now can anybody help me how to do this.
    Thanks in advance
    Kam

    Hello,
    One possibilty is to release the change requests that contain all your objects before the refresh.  Ask that the basis person save the data and cofiles for your requests.   After the refresh those files can be copied to the appropriate directory and then you can reimport the requests STMS -> Extras ->Other requests -> Add.
    Regards
    Greg Kern

  • Plant & Excise Group in Project System Environment

    Dear All,
    Our scenario involves Project System. Client has projects going on all over the country & overseas.
    We are creating Plant for all the projects.
    a) Here is it necessary to create Excise Groups similar to the number of plants?
    b) Or does it depend on the number of Excise Registration Numbers?
    c) Here if we have multiple plants & create one Excise Groups, will it create any problem in excise account determination?
    Pl advice which factors to take into consideration in this regard?
    Thanks & regards,
    Gov

    hi
    as per the definition of excise registration
    An entity in India that is entitled by law to produce any goods liable to excise.
    Each entity is assigned its own excise registration number.
    Every factory that manufactures excisable goods is required to register separately, so that a business with seven factories requires seven registrations
    when comes to excise groups generally we take one excise group for one plant, but we can also have more number of excise groups when accounting demands so

  • System environment variable

    I accidentally deleted my environment variable in my lenovo Y50 laptop.Is there any chance i could recover it back.Or can i get a sample of environment variable.Your help is much appreciated.

    surendren wrote:
    I accidentally deleted my environment variable in my lenovo Y50 laptop.Is there any chance i could recover it back.Or can i get a sample of environment variable.Your help is much appreciated.Try creating a new user profile. The os will create the necessary environment which you can use to create in the old profile.

  • What can I do in my system environment?

    My system is CenOS 4.3 and the version of glibc is 2.3.4(glibc6).
    I have installed both the Sun Studio 11 and Sun Studio Compilers for Linux OS, but I can't compile with neither Sun Compiler nor GNU Compiler.
    What can I do now?

    Ok, thanks for help first. And this is what I got when I compiled:
    dmake -m serial -f "/root/.sunstudio/11-Linux-i686/sampledir/Tutorials/Tutorial1/Makefile"
    dmake: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    I make two Makefiles, one is for GNU compiler, the other is for Sun Compiler. And they get the same result.

Maybe you are looking for

  • In the Calendar, what happened to the day's list of events?

    In the calendar in iOS7, tap on the day and I don't get a list, but a timeline that was already available by turning my iPhone to landscape view. When I tap the day, I want a list of what's scheduled for the day, not a redundant timeline function.  T

  • IMac with OS X 10.5.8, iTunes 10.6.3 - and now i can't make a backup for iPhone 4s

    I have bought an Iphone 4S and want to make a backup to get my old dates. But, my iMac has Version 10.5.8 - and doesn't allow me to install iTunes 11.1. which is requestet from the iphone to make the backup. What can I do??

  • Force safari to display pdf in browser instead of downloading

    Most of times, my computer displays pdf within Safari browser window, which is my preferred way of viewing online pdf's. But sometimes it downloads it to the "Download" folder. I don't really understand the difference. Is there a way to stop Safari f

  • Duplicate sequence# in standby

    Hi all, 10.2.0.1 With this query in the standby database,I am finding duplicate sequence#s. SQL> select sequence#,first_time,next_time from v$archived_log;   12473 21-JAN-10 21-JAN-10 NO   12473 21-JAN-10 21-JAN-10 YESIt seems its a bug otherwise wha

  • Toshiba Laptop Stopped Recognizing Nano

    I have two laptops both running windows 7.  One laptop still reads and syncs nano, the other stopped.  This is an ipod Nano multi-touch. Recently, the Toshiba laptop had the motherboard replaced.  This is when it stopped responding to the nano when I