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 11912

Summary: Environment Variables property of Debugger Execution does not work
Product: debugger Reporter: Jan Stola <jstola>
Component: CodeAssignee: Daniel Prusa <dprusa>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Stola 2001-05-03 16:38:54 UTC
Pilsen build 010502
===================

Steps to reproduce:
-------------------
1. Set some Environment Variables in the Debugger Executor.
2. Execute some class with this executor.
3. The class will not be executed. (Without Environment Variables
   is everything OK).
   a) In JPDA mode the following message is shown
      Can't load "jdwp.dll", because Can't find dependent libraries
      Could not create the Java virtual machine.
   b) In JDK 1.1 debugging mode the following message is shown
      [Internal debug-agent error: **Failed to create port].
Comment 1 Jan Chalupa 2001-05-05 21:20:54 UTC
Target milestone -> 3.3
Comment 2 Karel Serin 2001-05-07 16:10:21 UTC
The message thrown in Linux sounds like this:
Can't load "libjdwp.so", becasue libjdwp.so: cannot open shared object file: No
such file or directory
Could not create the Java Virtual Machine.
Comment 3 Daniel Prusa 2001-05-21 10:50:15 UTC
ASSIGNED
Comment 4 Daniel Prusa 2001-05-22 17:09:42 UTC
Bug in JDK.
If no environmental variables are set, then Runtime.exec (String []) method is 
used to launch a process and everything is OK. When some variables are passed 
Runtime.exec (String [], String []) is used and there are some problems to 
locate needed libraries.
Filed in Bugtraq as #4461673.