Re: perl to java

From: Thomas Schodt (_at_\)
Date: 02/04/04

  • Next message: Adam: "AWTEventMulticast"
    Date: Wed, 04 Feb 2004 08:10:52 +0000
    
    

    agroulx wrote:

    > I've discovered I didn't know what to
    > do with environment variables and taking them into a java program.
    >
    > So what I work in is linux and I set a few environment variable...ex:
    > KW_ON=quick and a couple of paths.
    >
    > Can I take environment variables into a java program? Is so how?

    IIRC

    System.getProperty("KW_ON")


  • Next message: Adam: "AWTEventMulticast"

    Relevant Pages

    • Re: dlopen() and putenv()
      ... I run your program (under Linux) and found: ... the settings of environment variables internal to the program its ... The directory search path used to find both path_name and the other needed ... which is analyzed once at process startup, and from a runpath setting within ...
      (comp.os.linux.development.apps)
    • Re: Problem with hla
      ... Linux and Windows of course, incorporating the HLA binaries, includes, ... You also have to set up environment variables and paths. ... I ought to do an install package for Linux. ... despite my qualms about an installer ...
      (alt.lang.asm)
    • Re: starting quanta
      ... environment variables used in Linux and each program is free to define ... KDEDIRS is simply one of these variables that the KDE developers use to ... Open standards. ... Linux 2.4.20-4GB-athlon ...
      (alt.os.linux.suse)
    • Re: how to etup linux classpath?
      ... how can I setup java classpath in linux? ... BTW, in linux, environment variables are process-specific, so entering ... the above in a shell sets the variables only for that shell as long as its running, ...
      (comp.lang.java.programmer)
    • Re: Bash bug?
      ... And all only exist while the script is executing. ... >> Even if they were environment variables and had a permanent life outside ... This is also a problem with ksh under linux. ... were developed to run under SCO Unix. ...
      (Fedora)