Wednesday 9 January 2008

error "Waiting For Virtual Machine To Exit" in eclipse

* error "Waiting For Virtual Machine To Exit" in eclipse

When you have "Waiting For Virtual Machine To Exit" message and did not change any
progress , you might install "Axis2 Code Generator" in Eclipse.

In order to solve this problem, you should change ANT home setting in eclipse.
Because when you install "Axis2 Code Generator" in eclipse , it change the
ANT HOME setting.

So please go to "Window > Preference > Ant > Runtime". There will be "Ant Home Entires" part. You can confirm the jar files are from Axis2 plugin directory. This
is causing the problem so please click "Ant Home" button on the right side and
setting up ant home such as "D:\java\ant\apache-ant-1.7.0" directory and click OK

24 comments:

Anonymous said...

thanks a lot buddy! i was pretty confused about this error... till i found your entry. that axis2 code generator didn't work anyway, so just threw it into the wastebin! now everything is fine. thanks again!

Anonymous said...

Thanks a lot dude, you saved my day. I've been troubleshooting this problem for the last 4 hours with no luck until i saw this post.

Anonymous said...

thanks man. been scratching my head on this for the past day.

Anonymous said...

Thanks a LOT!! Have troubleshooted this for about a day wondering why nothing worked. And it's a long time since I installed the Axis-plugin, så I didn't think that was causing the trouble.

Abhinav Dhasmana said...

Thanks Buddy.

Anonymous said...

Thank you very much! This post was VERY helpful!

Anonymous said...

thank a lot buddy, i was frustrated with this error & tried everything before i found your post.

Liz Barraza said...

Thanks!!!... I had the same problem but now work fine!

nyisithu said...

Thanks a lot buddy. ur the man.

Unknown said...

Very nice Post!!

This was very confusing, never suspected from Axis2

Matt said...

thank you! i have nothing to do with axis2 but i *was* having this error, and setting ant home fixed my problems. i spent way too long trying to fix this problem - so really, thank you!!

Venkat said...

Great. Thanks for this post.... i had tried various things before seeing ur post..... good work..

Anonymous said...

Thanks a lot for this post

Daniel Larsson said...

A thousands thanks man! I did not have Axis2 but it was set to a wierd plugin instead. I changed it to my own Ant-distribution and I also had to restart Eclipse before it started to work again.

Anonymous said...

thank you :)

Anonymous said...

Thank you!

Anonymous said...

That was really helpfull!!!
All of a sudden my working code broke and I was not able to figure it out. Even my build.xml did nothing.

Cheers!!

Anonymous said...

Il semble que vous soyez un expert dans ce domaine, vos remarques sont tres interessantes, merci.

- Daniel

NAG said...

Thanks a million, really its a very good solution.

Anonymous said...

zvniixemk http://www.gafasraybans.net hlmysmobj [url=http://www.gafasraybans.net]gafas ray ban modelos[/url] mbgmbxmiy
draklzwii http://www.poloralphlaurenonsaleuk.net wrsgpjrbg [url=http://www.poloralphlaurenonsaleuk.net]ralph lauren clothes[/url] wceamvuyj
goffpyvid http://www.cheapdrdrebeats.net xtqnyslos [url=http://www.cheapdrdrebeats.net]beats by dre price[/url] kaywthwyh
gotykmfot http://www.gafassol-rayban.com rxjqynvxv [url=http://www.gafassol-rayban.com]catalogo ray ban[/url] exvcojwms
ejgeumboa http://www.polosralphlaurenuksale.net bmopilnqt [url=http://www.polosralphlaurenuksale.net]polo ralph lauren trainers[/url] yoomgeizo

Unknown said...

Hi, I too facing this issue in Eclipse Juno. First time deployment is good, when code is changed, the eclipse will automatically republish to OC4j server. At this time the eclipse fails to republish and says waiting for VM to exit.
Iam using jdk 6u27, Oc4j 10.1.3.5. If there is any solution please let me know.

Unknown said...

By the way i tried the ANT Home setting, it didnt work in the above environment which is said. Eclipse Juno/Oc4j10.1.3.5/jdk6u27

Lino said...

Thanks Bro it worked ....

mcslethe said...

replica bags wholesale mumbai replica bags from china free shipping replica bags london