FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Setting Run Environment Variables

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
curtis



Joined: 14 Jan 2009
Posts: 2

PostPosted: Wed Jan 14, 2009 10:00 pm    Post subject: Setting Run Environment Variables Reply with quote

I am unable to figure out how to set environment variables for particular run configurations (NetBeans 6.5). Is this possible?
I would rather not have to start NetBeans with the environment variable already set.

Thanks
Back to top
View user's profile Send private message
Tonny Kohar
Posted via mailing list.





PostPosted: Thu Jan 15, 2009 3:16 am    Post subject: Setting Run Environment Variables Reply with quote

Hi,


On Thu, Jan 15, 2009 at 5:00 AM, curtis <address-removed> wrote:
Quote:
I am unable to figure out how to set environment variables for particular run configurations (NetBeans 6.5). Is this possible?

I would rather not have to start NetBeans with the environment variable already set.


Netbeans allows command line options to configure some of its
properties (eg: jdk used, some env variable, etc) either using
- command line options eg: -J-Dxxxx=xxx or other predefined options
- modifying the [netbeans_dir]/etc/netbeans.conf

Cheers
Tonny Kohar
--
Sketsa SVG Editor
imagine, design, create ...
http://www.kiyut.com
Back to top
curtis



Joined: 14 Jan 2009
Posts: 2

PostPosted: Thu Jan 15, 2009 3:55 pm    Post subject: Setting Run Environment Variables Reply with quote

I thought that the -DXXX=XXXX option was for system properties, not environment variables. Is there a command line option for environment variables?

We are using a third party package that reads an environment variable to determine a path. In eclipse it was possible to configure run time environment variables.
Is there a way to configure NetBeans to set arbitrary environment variables?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB