JVM Problem (Already Tried Recommended) [message #793284] |
Tue, 07 February 2012 19:52  |
Eclipse User |
|
|
|
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 142 times)
|
|
|
| Re: JVM Problem (Already Tried Recommended) [message #793295 is a reply to message #793284] |
Tue, 07 February 2012 20:12   |
Eclipse User |
|
|
|
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 #793724 is a reply to message #793325] |
Wed, 08 February 2012 08:32  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.40741 seconds