Skip to main content



      Home
Home » Newcomers » Newcomers » JVM Problem (Already Tried Recommended) (Can't find JVM, Already tried all the things on the Wiki.)
icon5.gif  JVM Problem (Already Tried Recommended) [message #793284] Tue, 07 February 2012 19:52 Go to next message
Eclipse UserFriend
This is a copy and paste of a message I sent a while ago to a friend's forum, but it will do and explain properly here also:

-Start of Quote from other forum

So, I was playing around with a text-based game I had recently coded and tried to get it to run through command prompt; being unsuccessful I dug deeper into the problem and for some reason, realized 'javac' was missing. So I un-installed Java and the JDK and reinstalled them, this time deciding to go ahead and install the JDK version bundled with Netbeans to try out the drag and drop swing builder (Random information that may be useful).

The problem is that, during my escapades of fixing Java, there was an error during compiling so I went back into eclipse to figure out the error in the code. Upon clicking Eclipse I received this error; and after spending an hour trying to fix it myself and not coming out successful I figured I'd post here.
;
Update: I tried fixing it with -vm Path in the eclipse.ini but that didn't work. It gave some long winded error message, and I tried several more different paths that I thought may work and again failing. I also reinstalled it, which as I had predicted, did not fix the problem.

- End of Quote from other forum.

Also, the errors that have occurred are all here already posted on the thread on the other forum (Darn, can't post links yet, I'll post it when I can, see below for first error) If I need to put them on here I can do that as well.



Please help!
Thanks,
Connor.

  • Attachment: ibrokeit.PNG
    (Size: 15.28KB, Downloaded 141 times)
Re: JVM Problem (Already Tried Recommended) [message #793295 is a reply to message #793284] Tue, 07 February 2012 20:12 Go to previous messageGo to next message
Eclipse UserFriend
On 2/7/2012 5:52 PM, Connor Elsea wrote:
> This is a copy and paste of a message I sent a while ago to a friend's forum, but it will do and explain properly here also:
>
> -Start of Quote from other forum
>
> So, I was playing around with a text-based game I had recently coded and tried to get it to run through command prompt; being unsuccessful I dug deeper into the problem and for some reason, realized 'javac' was missing. So I un-installed Java and the JDK and reinstalled them, this time deciding to go ahead and install the JDK version bundled with Netbeans to try out the drag and drop swing builder (Random information that may be useful).
>
> The problem is that, during my escapades of fixing Java, there was an error during compiling so I went back into eclipse to figure out the error in the code. Upon clicking Eclipse I received this error; and after spending an hour trying to fix it myself and not coming out successful I figured I'd post here.
> ;
> Update: I tried fixing it with -vm Path in the eclipse.ini but that didn't work. It gave some long winded error message, and I tried several more different paths that I thought may work and again failing. I also reinstalled it, which as I had predicted, did not fix the problem.
>
> - End of Quote from other forum.
>
> Also, the errors that have occurred are all here already posted on the thread on the other forum (Darn, can't post links yet, I'll post it when I can, see below for first error) If I need to put them on here I can do that as well.
>
>
>
> Please help!
> Thanks,
> Connor.

http://wiki.eclipse.org/Eclipse.ini should fix this if you follow it
carefully. You removed and re-installed your JDK. Eclipse must find it
somewhere else. How it does that (best) is by you telling it. The syntax
of this file is crucial. As you did not post yours, I can't get beyond
thinking that your fixing it was done wrong. Post it and we'll see.
Re: JVM Problem (Already Tried Recommended) [message #793303 is a reply to message #793295] Tue, 07 February 2012 20:29 Go to previous messageGo to next message
Eclipse UserFriend
That is the problem, I went through that Wiki page the first time. And it did not work. Here I'll post the errors and what I put accordingly.

Try One:
-vm
C:\Program Files (x86)\Java\jdk1.7.0_02\bin\javaw.exe

Error: ErrorResponceI



Try Two:
-vm
C:\Program Files (x86)\Java\jdk1.7.0_02\bin

Error: ErrorResponce2
Re: JVM Problem (Already Tried Recommended) [message #793325 is a reply to message #793303] Tue, 07 February 2012 21:19 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the help but I found the error. It was a problem with the CPU Architecture of the JDK.

Thanks,
Connor!
Re: JVM Problem (Already Tried Recommended) [message #793724 is a reply to message #793325] Wed, 08 February 2012 08:32 Go to previous message
Eclipse UserFriend
On 2012.02.07 19:19, Connor Elsea wrote:
> Thanks for the help but I found the error. It was a problem with the CPU
> Architecture of the JDK.
>
> Thanks,
> Connor!

Yup, matching bittedness of the JDK and Eclipse is always the next
question. I could have diagnosed that with the (full) contents of
eclipse.ini.

Best of luck.
Previous Topic:Eclipse maven
Next Topic:Project directory does not expand
Goto Forum:
  


Current Time: Mon Nov 03 16:27:53 EST 2025

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

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

Back to the top