kalkskalle
Lost but trying
Profile
Posts: 7
Reg: Apr 20, 2013
Stockholm
70
04/22/13 01:13 AM (11 years ago)

Solved!! -Eclipse can not find my JRE-dir or javaw.exe/jvm.dll files

Hi Im really stuck here: Basics Win7 64-bit JDK (32 and 64-bit) newly installed in c:program files (x86)javajre6 and ..jre7 Android ADT and Eclipse newly installed No jre directory installs into the Eclipse folder. When running the eclipse.exe an error occurs: "JRE and JDK must be available in ordeer to run Eclipse. No JVM was found after searching the following locations C:users....eclipsejrebinjavaw.exe javaw.exe in your current PATH" ok. there is no .. ..jre directory in the Exlipse install directories BUT, if I copy and paste the jre folders and subfolder from my Java install to the ...eclipse directory the above error is gone when trying to run the eclipse.exe, but this time the system generates Another error msg, something like "the jvm.dll could not be loaded... (but the lib file IS present under ..eclipsejreinclientjvm.dll Is there a solution to this? when googling this issue I find thousands of these problems and thousands of remedies. (Ive also tried to include the path in eclipse.ini and in setting the PATH environmental variable. No luck) Anyone got a clue? /Thomas
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/22/13 06:51 AM (11 years ago)
Hi @kalkskalle, Make sure you have the correct versions matching 32 bit to the 32 bit JDK. You only need the JDK, unless I'm mistaken. I would uninstall and do a fresh install of your correct 32 or 64 bits to match and go from there. @GoNorthWest did an excellent video tutorial that will assist you. https://www.youtube.com/watch?v=SFGF3_r9YIA LA
 
kalkskalle
Lost but trying
Profile
Posts: 7
Reg: Apr 20, 2013
Stockholm
70
like
04/22/13 11:23 AM (11 years ago)
Solved! 1) downloaded and installed 64-bit versions of both the ADT for Android (Eclipse) and JDK Java bundle 2)updated the PATH environmental variables (Win Control panel...System...advanced opt...Envir.variables) In my case it now looks like this: C:\Program\Java\jre7\bin\client\jvm.dll;C:\Program\Java\jdk1.7.0_21\bin (no backslash after the \bin directory) Hope this can help somebody else! /Thomas
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/22/13 11:40 AM (11 years ago)
Great job @kalkskalle! LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.