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

Summary: Environment Variables don't work with External Execution
Product: java Reporter: RajeshKumar <rajeshkumar>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.