VMware Cloud Community
abdulhussein
Enthusiast
Enthusiast
Jump to solution

run program in virtual machine

how can i run executable program in virtual machine using java api

0 Kudos
1 Solution

Accepted Solutions
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Below post can help you to do the same:

VIX APIs are integrated with vSphere APIs

Plz explore :Run, Kill, and List Programs in Guest Operating System on VMware | DoubleCloud => Private Clo...

Run Program in Guest Operating System on VMware | DoubleCloud => Private Cloud + Public Cloud

This should solve your problem


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

View solution in original post

0 Kudos
4 Replies
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Below post can help you to do the same:

VIX APIs are integrated with vSphere APIs

Plz explore :Run, Kill, and List Programs in Guest Operating System on VMware | DoubleCloud => Private Clo...

Run Program in Guest Operating System on VMware | DoubleCloud => Private Cloud + Public Cloud

This should solve your problem


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

0 Kudos
abdulhussein
Enthusiast
Enthusiast
Jump to solution

thank u very much for ur answer

but i got this error The import org.doublecloud.vi.vmware.guest.GuestProcessDirector cannot be resolved

is there any (jar) file that iam not use it

0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Yes. There are some APIs that Steve has developed by his own @guest. You will have to add this to your java project :http://www.doublecloud.org/wp-content/uploads/2012/03/vmguest.zip

Refer:Announcing Guest Operating System Management API for vSphere | DoubleCloud => Private Cloud +...


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

abdulhussein
Enthusiast
Enthusiast
Jump to solution

thank u for ur correct answer

0 Kudos