- 3 Ways to Solve «No JVM installation found. Please install a 64-bit JDK» — Android Studio Example
- Solution 1 — You are running Android Studio on 32-bit Machine
- Solution 2 — No JAVA_HOME variable
- Solution 3 — Android Studio icon pointing to studio.bat file
- No java installation was detected
- Re: no Java installation detected
- Re: no Java installation detected
- Re: No Java installation detected
- Re: No Java installation detected
3 Ways to Solve «No JVM installation found. Please install a 64-bit JDK» — Android Studio Example
You are an enthusiastic Java programmer who just learned about developing Android apps in Java. To start with you have installed Android Studio, which is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA, but as soon as you click on the Android Studio Desktop Icon to start Android Studio you are getting «No JVM installation found. Please install a 64-bit JDK» error? How do you solve this problem? Well, even though the error message is the same, every problem is different depending upon your machine, the Java version, whether your desktop or laptop has 32-bit or 64-bit OS e.g. Windows 8.1 or Windows 10. Whether you have installed 32-bit Java or 64-bit JDK e.g. JDK 1.8.0 and what is the value of the JAVA_HOME environment variable or whether you have defined it or not.
I’ll go through a couple of examples to solve the «No JVM installation found. Please install a 64-bit JDK» error based upon some common scenarios. Most likely you would be able to solve your problem by following these steps, but if you are not then just paste the following details and we should be able to help you out
— Android Studio version you are installing
— Operation System e.g. Windows 8 or Windows 10 or Mac OS X
— whether OS is 32-bit or 64-bit
— Installed Java version e.g. JDK 1.8.0
— whether JVM is 32-bit or 64-bit
— How you are starting Android Studio, via batch file or via desktop icon
And, if you are new to the Android world and want to learn Android app development then you can also check out these Android online courses by Rob Percival and Nick Walter on Udemy. It’s a great hands-on course to learn Android in depth.
Solution 1 — You are running Android Studio on 32-bit Machine
If you are running Android Studio on 32-bit machine e.g. Windows 7 then you need to make sure that Android Studio is also instructed to use that. You can do so by setting your JAVA_HOME to point to your 32-bit JDK and then changing the target exe file of Android Studio desktop shortcut. By default start icon of Android Studio refers to studio64.exe file, which requires 64-bit Java installation. Just change it to refer studio.exe, which can run on 32-bit JVM.
In short,
— Make sure JAVA_HOME points to 32-bit Java, if you don’t know how to set JAVA_HOME, see here
— Make sure Android desktop icon point to studio.exe instead of the studio64.exe file.
Solution 2 — No JAVA_HOME variable
The Android Studio make use of JAVA_HOME environment variable to find the JVM installation. If you have not set the JAVA_HOME then you must do so by going into My Computer -> System Properties -> System Settings ->Environment Variables . Make sure your JAVA_HOME points to 64-bit JDK installation e.g. JDK 1.8.0. You can download 64-bit Java from Oracle’s download website.
Remember, you can install both 32-bit and 64-bit JVM on a 64-bit operating system like Windows 10. So, please ensure you download the correct Java installer i.e. the 64-bit JDK installer. If you are also first time starting development with Android, I suggest you reading Head First Android Development, the best book to start with Android.
Solution 3 — Android Studio icon pointing to studio.bat file
If you have installed an Android Studio where Android studio icon is pointing to a studio.bat file instead of studio64.exe then you follow these steps to solve «No JVM installation found. Please install a 64-bit JDK» error
goto the AndroidStudio installation folder.
goto bin folder and open studio.bat in text editor
add set JAVA_HOME=C:\Program Files\Java2\jdk1.8.0//your java path after the ECHO line.
goto Start -> All Programmes -> Android Studio ->
right click on Android Studio and click on properties.
You will see the Target something like
No java installation was detected
Post by TiJuan » Mon May 27, 2013 11:36 pm
Hi all. I am having a problem, and I see a few old posts regarding this problem (http://forum.openoffice.org/en/forum/vi . hilit=java and http://forum.openoffice.org/en/forum/vi . 17&t=61016), but none of them help me solve my issue.
So I have both JRE and OpenOffice installed, but OpenOffice says I don’t have JRE installed. I go to Preferences=>OpenOffice.org=>Java and under «JRE already installed» the box is empty. I tried to use the «Add. » button to add my JRE, but nothing shows up anywhere. The only place I *know* to look is in «Library\Internet Plug-ins\» but everything THERE is grayed out, too. So I tried re-installing Java 7 update 21, and OpenOffice STILL does not show a JRE installed.
Last edited by RoryOF on Wed May 29, 2013 5:17 am, edited 2 times in total.
Reason: Added green tick.
MrProgrammer Moderator Posts: 4650 Joined: Fri Jun 04, 2010 7:57 pm Location: Wisconsin, USA
Re: no Java installation detected
Post by MrProgrammer » Tue May 28, 2013 6:51 pm
Hi, and welcome to the forum.
I run Mac OS X 10.6.8 instead of 10.8.3. My Java Options panel looks like this:
The configuration in Mountain Lion may have changed but here’s what I’d try. In Finder, use Go > Go to Folder > / System /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents . It’s possible that you’ll find something other than 1.6.0 on your system; use whatever you find in your JavaVirtualMachines folder. Ensure that no folder is selected in Finder by holding Option then using Edit > Deselect All. Now use File > Add to Sidebar. This should add Contents to the sidebar. In OpenOffice.org > Preferences > OpenOffice.org > Java > Add select Contents from the sidebar, click on Home, OK. Ensure the checkbox for Use a Java runtime environment is selected. You can remove Contents from Finder’s sidebar once you have completed the Java configuration in OOo.
If this answered your question please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800 on MacOS 10.14.6. The locale for any menus or Calc formulas in my posts is English (USA).
Re: no Java installation detected
Post by TiJuan » Tue May 28, 2013 9:50 pm
lgusaas Volunteer Posts: 1579 Joined: Sun Mar 30, 2008 8:32 pm Location: Moose Jaw, SK Canada Contact:
Re: No Java installation detected
Post by lgusaas » Tue May 28, 2013 11:20 pm
I suspect (don’t know for sure) that Java 7 is 64 bits. AOO requires 32 bit Java.
Check on Java 6 from Apple. http://support.apple.com/kb/DL1572
Larry I. Gusaas
Moose Jaw, SK Canada
Website: http://larry-gusaas.com
«An artist is never ahead of his time but most people are far behind theirs.» Edgard Varese
Apache OpenOffice 4.1.13 — MacBook Air (M1)—macOS Ver.13.4 Ventura
Re: No Java installation detected
Post by TiJuan » Wed May 29, 2013 12:39 am
lgusaas wrote: I suspect (don’t know for sure) that Java 7 is 64 bits. AOO requires 32 bit Java.
Check on Java 6 from Apple. http://support.apple.com/kb/DL1572
Thank you! I didn’t realize I had to downgrade to 32 bit. I don’t know if *all* Java 7 is 64 bit, but *mine* was. I followed your link and downloaded Apple’s 32 bit Java 6, installed it and it works fine now.
- Getting started
- ↳ Survival guide
- ↳ Beginners
- ↳ Getting Started Guide for 4.x
- ↳ Getting Started Guide for 3.x
- ↳ Install, Setup and Troubleshooting
- ↳ Admin Guide
- ↳ MS Windows
- ↳ Linux
- ↳ Mac OSX
- ↳ LibreOffice
- ↳ Tutorials
- ↳ Writer
- ↳ Calc
- ↳ Base
- ↳ Database Examples
- Applications
- ↳ Writer
- ↳ Writer Guide for 4.x
- ↳ Writer Guide for 3.x
- ↳ Writer Tutorials
- ↳ Templates
- ↳ Advanced Uses
- ↳ Calc
- ↳ Calc Guide for 4.x
- ↳ Calc Guide for 3.x
- ↳ Calc Functions
- ↳ Calc Tutorials
- ↳ Impress
- ↳ Impress Guide for 4.x
- ↳ Impress Guide for 3.x
- ↳ Draw
- ↳ Draw Guide for 4.x
- ↳ Draw Guide for 3.x
- ↳ Math
- ↳ Math Guide for 4.x
- ↳ Math Guide for 3.x
- ↳ Math Guide for 3.x
- ↳ Base
- ↳ Base Guide for 4.x
- ↳ Wiki
- ↳ Base Tutorials
- ↳ Tables & Queries
- ↳ Forms
- ↳ External Data Sources
- ↳ Reporting
- Customizing and Extending
- ↳ Macros and UNO API
- ↳ Basic Guide
- ↳ OpenOffice Basic, Python, BeanShell, JavaScript
- ↳ External Programs
- ↳ UNO API and ODF
- ↳ Code Snippets
- ↳ Extension Repository
- ↳ Macro Repository
- ↳ Extensions
- ↳ Extensions page
- Community
- ↳ General Discussion
- ↳ Site Feedback
- ↳ Forum Governance
- ↳ User Experience (UX)
- ↳ Announcements
- Business
- ↳ Institutions & Educational
- ↳ Paid support
- ↳ Consultants Directory
Powered by phpBB® Forum Software © phpBB Limited