Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot start eclipse juno (No java virtual machine error)(Read the entire post before posting)
Cannot start eclipse juno (No java virtual machine error) [message #1053443] Mon, 06 May 2013 00:20 Go to next message
Crys Charmander is currently offline Crys Charmander
Messages: 4
Registered: May 2013
Junior Member
Yesterday i was using a java-like app on my macbook and i couldn't turn the app off(even with forced quitting) or turn my mac off .As i was in a hurry, i tried Deleting the app but it didn't allow me to, so i right clicked and pressed options then show in finder. after that it showed me a file called "java" in a folder called "commands", and I deleted it.It allowed me to turn the app off but now eclipse (juno) don't start, and it gives me this errorQuote:
No Java virtual machine
was found after searching the following locations:
/Applications/eclipse/Eclipse.app/Contents/MacOS/../../../jre/Contents/Home/jre/bin/java
java in your current PATH

If somebody knows please help, but try to be clear, because I'm a newbie on this java thing.
Re: Cannot start eclipse juno (No java virtual machine error) [message #1053641 is a reply to message #1053443] Tue, 07 May 2013 05:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Crys,

If you deleted part of your Java installation, you'll need to reinstall it.

On 06/05/2013 3:35 AM, Crys Charmander wrote:
> Yesterday i was using a java-like app on my macbook and i couldn't
> turn the app off(even with forced quitting) or turn my mac off .As i
> was in a hurry, i tried Deleting the app but it didn't allow me to, so
> i right clicked and pressed options then show in finder. after that it
> showed me a file called "java" in a folder called "commands", and I
> deleted it.It allowed me to turn the app off but now eclipse (juno)
> don't start, and it gives me this errorQuote:
>> No Java virtual machine
>> was found after searching the following locations:
>> /Applications/eclipse/Eclipse.app/Contents/MacOS/../../../jre/Contents/Home/jre/bin/java
>>
>> java in your current PATH
>
> If somebody knows please help, but try to be clear, because I'm a
> newbie on this java thing.
Re: Cannot start eclipse juno (No java virtual machine error) [message #1053764 is a reply to message #1053641] Tue, 07 May 2013 14:09 Go to previous messageGo to next message
Crys Charmander is currently offline Crys Charmander
Messages: 4
Registered: May 2013
Junior Member
I reinstalled jre and jdk but it didn't work.Any other ideas?
Re: Cannot start eclipse juno (No java virtual machine error) [message #1053773 is a reply to message #1053764] Tue, 07 May 2013 14:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
You can use the -vm option to tell Eclipse where to find the VM it needs:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html


On 07/05/2013 4:09 PM, Crys Charmander wrote:
> I reinstalled jre and jdk but it didn't work.Any other ideas?
Re: Cannot start eclipse juno (No java virtual machine error) [message #1053865 is a reply to message #1053773] Wed, 08 May 2013 01:25 Go to previous messageGo to next message
Crys Charmander is currently offline Crys Charmander
Messages: 4
Registered: May 2013
Junior Member
But how can i find this VM?
Re: Cannot start eclipse juno (No java virtual machine error) [message #1053874 is a reply to message #1053865] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Crys,

It must be on your file system where you installed Java.


On 08/05/2013 3:25 AM, Crys Charmander wrote:
> But how can i find this VM?
Re: Cannot start eclipse juno (No java virtual machine error) [message #1057742 is a reply to message #1053874] Wed, 08 May 2013 14:10 Go to previous message
Crys Charmander is currently offline Crys Charmander
Messages: 4
Registered: May 2013
Junior Member
Ed Merks wrote on Wed, 08 May 2013 00:06
Crys,

It must be on your file system where you installed Java.


On 08/05/2013 3:25 AM, Crys Charmander wrote:
> But how can i find this VM?

I did it!Now its working.I looked in my java directory and I found lots of folders like java versions.I realized that was from java 7 folder I deleted that file, so i went to java 6 and pasted the missing component in java 7.Thanks for your help!Now if someone wants he can mark as solved.
Previous Topic:Unable to up Check for Updates
Next Topic:eclipse
Goto Forum:
  


Current Time: Mon Sep 22 12:21:14 GMT 2014

Powered by FUDForum. Page generated in 0.04193 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software