Re: Java on AIX modifying LIBPATH

From: Roedy Green (my_email_is_posted_on_my_website_at_munged.invalid)
Date: 10/18/05


Date: Tue, 18 Oct 2005 08:29:10 GMT

On 17 Oct 2005 06:21:22 -0700, dinrat@gmail.com wrote or quoted :

> I have a java program which launches another process (an
>executable). Now it appears that java 1.4.2 is not passing correct
>environment to the executable, it is removing all occurences of
>/usr/lib from LIBPATH before passing it to the executable.

You might want to track down where the pruning is occurring.
Dump your environment just prior to launching java.exe
dump it just prior to exec with System.getEnv.

Exec has a feature for you to provide your own set Environment.

-- 
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.


Relevant Pages

  • Re: VS2005 and VS 6.0
    ... You can write a buggy program in any language. ... The delayed destructors are definitely a problem, Java has the same problem. ... design to improve performance and reliability. ... environment by stupid errors. ...
    (microsoft.public.vc.mfc)
  • Re: Which JVM to use under Windows?
    ... I do not have time to get into specifics at the moment. ... Why on earth would you be coding Java using an obsolete ... Microsoft's environment from the day one, ... Linux, and what I found is that they are clunky. ...
    (comp.lang.java.programmer)
  • Re: Processing time and IDS traffic
    ... >created a test environment using Snort that generates about 1 error every ... Bear in mind that the hard disk is ... I don't do Java neither, ... just loading the Java interpreter machine takes forever (over 30 seconds, ...
    (Focus-IDS)
  • Re: C portability is a myth
    ... >> Except Java provides no portability at all to any platform that ... > For example, there was a port of Java to DOS ... a free-standing environment does not. ...
    (comp.lang.c)
  • Re: Installed Java Versions
    ... remove anything prior to the latest update. ... Uninstall in any order ... > I have been updating Java versions as they came out. ... > The 4 versions that I show installed are: Java 2 Runtime Environment SE ...
    (microsoft.public.windowsxp.basics)