DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > NetBeans
Reload this Page Execute/debug given class from a project.
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Dec 2008
Wink Execute/debug given class from a project. - 01-16-2009, 08:44 AM

Hi all,



I have problem to find out how to execute/debug given class from Netbeans IDE. I need to design a context menu some special parameters and to pass some of them before execution of the class to java VM (and possibly to check them after execution). How I can



1. get classpath of project execution?
2. get working directory, env variables etc.
3. execute given VM of Java engine used for execution?





Thanx for help.
Reply With Quote
Reply

Tags
classpath, env variable, working directory

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute external program, ErrorStream and InputStream narcom_baku@yahoo.com Java 5 01-27-2009 09:50 AM
How to remoting debug in eclipse haison8x Eclipse 0 07-11-2008 04:05 AM
Failed to connect to remote VM.Connection refused - run remote app in eclipse debug rajan_mmn Eclipse 0 07-03-2008 06:00 AM
copy only the changed class files in a java project ms74120 Eclipse 0 06-04-2008 08:11 PM
How can i execute a console command from JAVA2SE code? waqarhassan Java 1 05-23-2008 02:50 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com