Specifications

VMware, Inc. 13
Chapter 2 Remote Debugging in Java Environment
3ClickOK.
4 (Optional)OnWindowsVistaguests,youmighthavetorestartthefirewallafterconfiguringittoallow
incomingconnectionstotheJVM.
Managing Virtual Machine Launch Configurations
Youcanmanageconfigurationsettingsforeachvirtualmachineinwhichyouwanttodebugapplications.
IntegratedVirtualDebuggerlaunchconfigurationsdeterminewhichvirtualmachinetoruntheapplicationin
andhowtheapplicationisexecuted.
ThelaunchconfigurationtypesVMwareattachtoapplicationandVMwareexecuteJavaapplicationhavea
VMwaretab.Theva
luesyouenterintheVMwaretabdeterminevirtualmachineconfigurationsettings.After
youconfigureavirtualmachine,youcanstartapplicationsinvirtualmachines,andattachtothem,fromthe
EclipseDebugandRunmenus.
Use Application Configurations to Start Applications in a Virtual Machine
Thissectiondescribeshowtocreate,duplicate,oreditalaunchconfigurationtostartanapplicationinavirtual
machine.
To use application configurations to start applications in a virtual machine
1 ChooseRun>Debug.
TheDebugpageisdisplayed.Youcancreate,manage,andrunconfigurationsfromthispage.
2Tocreatealaunchconfigurationoreditanexistingconfiguration,dooneofthefoll
owing:
CreateaconfigurationbasedondefaultsettingsbyselectingVMwareexecuteJavaapplicationinthe
leftpane,andclickingtheNewlaunchconfigurationiconatthetopofthepane.
Createaconfigurationbasedonanotherconfigurationbyselectingtheconfigurationyouwantto
duplicateunderVMwareexecuteJavaapplicationintheleftpane,andclickingtheDuplicatesthe
currentlyselectedconfigurationiconatthetopofthepane.
EditanexistingconfigurationbyselectingtheconfigurationyouwanttoeditunderVMwareexecute
Javaapplicationintheleftpane.
3DotheremainingstepsintheVMwaretaboftherightpane.
4Browsetochooseavirtualmachinefromthedropdownmenuofrecentlyusedandcurrentlyrunning
virtualmachines.
5Enteryo
uraccountcredentialstoaccesstheguestconsole.
6 (Optional)IfyouwanttouseaJVMotherthantheonethatisautomaticallyselected,selectanalternate
JVMpath.
7 (Optional)Expandthelistofsharedfolderstoadd,edit,orremovefolderstobesharedbetweenthehost
andtheguestsy
stems.
Foreachfolder,enterthesharenameandthelocationonthehostsystem.Bydefault,theprojectfolderis
shared.
8 (Optional)Indicateactionstobeperformedbeforetheapplicationislaunched:
SelectSetvirtualmachinestatetomostrecentsnapshottoreverttothemostrecentsnapshotbefore
theapplicationislaunched.
SelectRunscriptandenteroneormoreshellcommandstobeexecutedintheguestoperatingsystem
beforetheapplicationislaunched.Nosyntaxcheckingisperformed.Eitherenteronecommandper
line,orentermultiplecommandsonthesamelineusingasemicolonasaseparator.