This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 43431 - Environment Variables don't work with External Execution
Summary: Environment Variables don't work with External Execution
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 13:02 UTC by RajeshKumar
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RajeshKumar 2004-05-18 13:02:37 UTC
In the Tools->Options->Execution Types->External 
Execution settings, I defined some environment 
variables like this "QMORE_HOME=G:/Qmore/Qmore". 
I set the Append Environment Variables check box 
to true. Still When I run a class with Execution 
type=External Execution, the JVM for that process 
does not know about this environment variable. 
Right now I am modifying the External process 
property in the Execution settings and hard code 
this environment variable there with -D option.

 Is there any way that I can make the Environment 
variable option to work in Netbeans?
Comment 1 Jesse Glick 2004-05-18 14:14:20 UTC
Wrong module.
Comment 2 Jesse Glick 2004-05-18 14:15:07 UTC
Anyway it sounds like you are confusing environment variables with
Java system properties. They are completely different.
Comment 3 RajeshKumar 2004-05-18 14:23:26 UTC
Sorry that I raised the bug in wrong module. I am not well versed 
with all the modules in netbeans. But can I request you to forward 
this to the correct module instead of closing this ticket? I have not 
got any solution yet.

Comment 4 psuk 2004-06-15 19:26:19 UTC
Execution types were removed in current trunk. You will be able to use
and modify project.properties in new build system.
You can try out development version or q-build.