Openfire server is not starting on JAVA 64 bit - java

i was trying to install openfire in my windows 64 bit OS, but server was not starting , and giving below error message.
which says JAVA_HOME doesn't point to 32 bit JRE,
where as in openfire site, nothing was said about 32 or 64 bit jdk version.
upon clicking ok i am getting serious of error messages,
do i need to point openfire to 32 bit jdk and jre to make it workable?

It is possible to start openfire from command line:
java -jar startup.jar
Assuming it is executed from ./lib of openfire installation dir, and you have binaries of your preferred java in system path.

The error means exactly what it said. You have either installed the wrong architecture flavor of Java / the JDK or haven't installed Java at all. If you haven't installed the 32-bit JDK yet, grab it at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and install it. If you already have the 32 Bit JDK, change the environment variables of your system to let JAVA_HOME point to the correct installation. Refer to https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/ for further instructions. If that doesn't help, deinstall every JDK inst install the 32-bit JDK from scratch.

i have downloaded zip version of openfire , which is having this issue, i have downloaded .exe version with jre bundled, which is working fine.

Related

Getting java runtime enviroment not found error while running .exe file produced bt jar2exe software

I am getting the following message immediately after trying to run the executable file.
Java Runtime Environment not found.
I have installed jdk and jre and already set the path for both and able to run any class file with command prompt.
Unfortunately, i am not using Netbeans or Eclipse.
please someone help
Thanks in advance.
I found jar2exe website support that include install 32 bit jre for 32 bit OS and 64 bit jre for 64 bit OS. The best solution is reinstall correct version of Java and choose offline installer (since online installer mostly install 32 bit before, but I don't sure is smart enough to detect 32 bit or 64bit now).
(I'm sorry that I don't gain enough reputation to post on comments)
You need an appropriate jre installed that is the same with your Jar2Exe (on step 6 during Exe creation). If you're check "Create 64 bits executive" on those step you'll need 64 bit jre, but if you unchecked it then you need 32 bit jre.

Cannot install java 64bit when 32 bit works fine

I can Install Java 32 bit but not 64 bit.
I am using Fujitsu T902 running Windows 7 64 Bit with 4 Gigabytes of ram.
getting error code 1603
Image
System Specs
EDIT: Solved - Download a complete JRE and paste it in the correct folder, then configure enviroment variables. Thanks!
64bit jdk can only run on 64bit system, please make sure your windows system is 64bit. you can right click "my computer" and click property to check out
Only explanation if you are actually using Windows 7 64 bit is if you are running a virtual machine where windows is 32 bit.
this error is java update error. Maybe you are using online installer. Download an offline JDK/JRE installer and then try.
Your system is x64 so you need to install 64 bit java.
Also please follow this link for additional information:
https://www.java.com/en/download/help/error_1603.xml
Download a complete JRE and paste it in the correct folder, then configure enviroment variables.
Thanks for your help though!

Android Studio, No JVM Installation Found

I just download Android Studio and installed it on my computer. I previously had installed the JDK Development Kit also (jdk1.8.0_65).
When I try to open the program I get the following error: "No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer >... etc."
I created the variable and pointed it to the location of my JDK and restarted my computer but the same error keeps popping up. What am I missing?
Computer Specs
Windows 7 64bit
JDK installed: 1.8.0_66-b18
You should use 64 bit version of JDK, I suspect you are using 32 bit. You can manually uninstall the current version. See How to uninstall JDK
Once this is done install 64 bit JDK from here
Make sure you click the correct executable (studio.exe or studio64.exe) depending on your environment when launching Android Studio, otherwise you might see the message "No JVM Installation Found".

how to fix EXE4J_JAVA_HOME, No JVM could be found on your system error?

I installed java 64bit 1.7 and exe4j 64bit version. I tried to generate an exe from exe4j, but while running the program I'm having this error.
This is how I set up path variable. And this is right jre path. What did I miss here? please let me know.
Thank you.
This has to be done during your exe4j configuration.
In the fourth step of Exe4j wizard which is Executable Info select> Advanced options select 32-bit or 64-bit. This worked well for me.
or else install both JDK tool-kits x64 and x32 in your machine.
Try installing the 32 bit version of Java 6. This works for version Install4J 4.0.5. Should fire right up, or allow you to re-run the installer.
Any newer version or the 64-bit version of 6 will fail, complaining that the java.exe is damaged.
There are few steps to overcome this problem:
Uninstall Java related softwares
Uninstall NodeJS if installed
Download java 8 update161
Install it
The problem solved: The problem raised to me at the uninstallation on openfire server.
In my case (OWASP Zap scanner) I had to install the latest OpenJDK from https://adoptium.net
BH's answer of installing Java 6u45 was very close... still got the popup on reboot...BUT after uninstalling Java 6u45, rebooted, no warning! Thank you BH!
Then installed the latest version, 8u151-i586, rebooted no warning.
I added lines in PATH as above, didn't do anything.
My system: Windows 7, 64 bit. Warning was for No JVM, 32 bit Java not found.
Yes, I could have installed the 64 bit version, but 32bit is more compatible with all programs.
It might be issue with the Java JDK/JRE package itself, try downloading & installing/configuring latest version of JDK, followed by system restart. It worked for me and it may work for you too.
I had a similar problem. With the difference that I wanted to use the 32-bit version. The only way I could solve the problem was to install the 32-bit version of Windows XP on a virtual machine!!
Leave you stuff there and Try the following as well:
Start > Right-click on My computer > Properties > Advanced system settings > Environment Variables > look for variable name called "Path" in the lower box
set path value value as: (you can just add it to the starting of line, don't forgot semi column in between )
c:\Program Files\java\jre7\bin
It worked for me, but the exe4j can leave a signature when you double click the .exe application

How Do I Run IntelliJ IDEA 9 as a 64-bit Process?

I've noticed that IntelliJ IDEA 9 runs as a 32-bit process in Windows 2003 x64 and would like to configure it to run as a 64-bit process. I did find an article about how to perform this in Mac OSX, but not in Windows.
Update #1: I have the 64-bit version of JDK 1.6.18 installed.
This post might help. It mentions using an idea64.exe launcher on Windows.
My wild guess, is that you only need a 64 bit JDK/JRE and that's it.
Download the x64 version:
JDK x64 windows http://img97.imageshack.us/img97/8004/capturadepantalla201001u.png
And then configure IntellJ IDEA to use it.
This guide shows how what to change to set own JDK ( although is a bit dated and things may have changed as of now )
The environment variable IDEA_JDK or JDK_HOME should be set to point to the location where JDK 1.6.0 is installed
Install jdk 64 bit and setting of 'set IDEA_JDK home is enough.
Once this variable is set you could use

Categories