![]() Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode) Java(TM) SE Runtime Environment (build 1.6.0_27-b07) On Windows 7 with 64-bit Java 6 I get: java version "1.6.0_27" To check your version of Java, run java -version Specifying the JVM path in eclipse.ini is strongly recommended because doing so isolates Eclipse from any potential changes to your system PATH that some program installers might make (I'm talking to you, Oracle!).Īnother option would be to download and use 32-bit Eclipse instead of 64-bit, but it's still strongly recommended to specify the path to the JVM in eclipse.ini. The instructions are detailed in the Eclipse wiki page, but basically you have to specify the -vm option in the ini file - make sure to read the wiki page carefully as the format is very specific. The best way to fix this, assuming you do in fact have 64-bit JRE or JDK on your system, is to specify in eclipse.ini exactly which JVM you want it to use. This can happen when a system has more than one JVM installed, as is often the case on Windows 64-bit (for example, the JRE download page uses the bit-ness of the browser to determine what bit-ness download to offer you, and many people use(d) 32-bit browsers even though they run 64-bit Windows). Program Files is the folder where 64-bit Windows places 64-bit programs. Program Files (x86) is the folder where 64-bit Windows places 32-bit programs. However, the version of Java that it's picking up is 32-bit, as indicated by where it is coming from, on this line: -vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe Your version of Eclipse is 64-bit, based on the paths and filenames. vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe ![]() launcher C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse.exe I'm 99% certain that I got 64-bit versions of both Eclipse and Java (RE 7u5), which I chose because similar inquiries seem to indicate that there is a 32-bit/64-bit problem.įull error code.: Java was started but returned exit code=13Ĭ:\Program Files (x86)\Java\jre7\bin\javaw.exe I now encounter a different error: Java was launched, however it gave an exit code of 13. As a result, I discovered where Java was located and added that address as the argument in the shortcut's target. When I originally attempted to launch Eclipse without specifying the Java VM, I received an error message stating that there was no Java VM named javaw.exe inside the Eclipse folder. I had just installed version 4.2 of Eclipse when I encountered this issue while attempting to run it. I'm attempting to use Eclipse to get my first taste of Android development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |