As title, i need install JDK on win server 2008 enterprise. But when I run JDK, it not run, it not error. I don't understand why it do. i'm try reinstall jdk 32 bit with my server 64 bit and it was not run.Some body help me?
Did you try installing the 64 bit version of the Jdk?
I'm installing SonarQube v5.0.
I'm running Windows Server 2012 64-bit (a virtual OS), Java 1.8 64-bit, and the SonarQube windows-x86-64 wrapper.
SonarQube, whether run via StartSonar.bat using Command Prompt as Administrator or as a Windows Service, keeps throwing the following warning:
WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
The file is located on the path at the following location but
could not be loaded:
C:\sonarqube-5.0.1\bin\windows-x86-64\.\lib\wrapper.dll
Please verify that the file is readable by the current user
and that the file has not been corrupted in any way.
One common cause of this problem is running a 32-bit version
of the Wrapper with a 64-bit version of Java, or vica versa.
This is a 32-bit JVM.
Reported cause:
C:\sonarqube-5.0.1\bin\windows-x86-64\lib\wrapper.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
System signals will not be handled correctly.
The only info that I've found on the web is some JIRA's from 2010 that don't really help me. I can't create a sonar user on this Windows installation. All my other tools in my CI environment are running on Java 1.8 64-bit, which means that JAVA_HOME is set to JDK 1.8 64-bit. I really don't want to have to run Java 32-bit and the 32-bit Wrapper. That means that the JRE bin/java path at the top of wrapper.conf will have to specify the 32-bit JRE.
What can I do to get rid of this warning?
Not all applications use JAVA_HOME variable, so you can have JAVA_HOME pointing on your 64 bits version while you are using a 32 bits.
Note: the 'Java_Home' key in the registry is not the JAVA_HOME variable.
Well, one way to be sure is to uninstall the current service, with ..\windows-x86-64\UninstallNTService.bat and install the 32 bits version with ..\windows-x86-32\InstallNTService.bat.
If it works, you definitively have a 32 bits JVM.
Installed the service SonarQube in \sonarqube-5.1.2\bin\windows-x86-64.
I just went to the SonarQube in the Windows Services-->go to properties-->Log On tab--->select 'Local Service'(Entered the system password). Thats it!
Issue was resolved.
Hope this helps someone who was not able to resolve from the above posts.
I experienced the same problem with SonarQube 5.6.4 on Windows 7. Editing the sonar.properties file to add a wrapper.java.command=... had no effect. Editing my path statement did the trick, though.
The first two folders in my path statement had been
C:\ProgramData\Oracle\Java\javapath;C:\dev\sdks\jdk1.8.0_112\bin;....
The java.exe in the first (C:\ProgramData\Oracle\Java\javapath) is 32-bit. I just switched the two in my path:
C:\dev\sdks\jdk1.8.0_112\bin;C:\ProgramData\Oracle\Java\javapath;...
Suddenly SonarQube started using the 64-bit java.exe in C:\dev\sdks\jdk1.8.0_112\bin
After making this change, I was able to restart Firefox without any difficulty.
In my case, running on SonarQube 7.3 on window 7 or window 10, I have to update Java version to java 8 to pass this error.
No need for this, In my case I just Installed Java SE JDK 11.0.16 and installed it, and restarted the sonar server and it worked. Below is the URL to download
https://www.techspot.com/downloads/5553-java-jdk.html
I'm trying to install JDeveloper 12c. When I run the installer it gives this error:
"Unsupported platform (unable to determine the startup directory location).
The Oracle Universal Installer failed. Exiting."
My platform is Windows 7 x64. I tried 32-bit, 64-bit and generic versions of the installer but the result doesn't change. Is there somebody facing the same problem? Or any idea to solve it?
By the way, I forgot to say that I've already tried to run the installer as Administrator but it didn't solve the problem.
Where is your installed located - make sure there is no space in the directory path.
Also if you are on windows use the windows installer and not the generic one.
I have installed jdk 64 bit on my windows 7 running 64 bit OS.
I have also set the path environment variable as
C:\Program Files\Java\jre7\bin
Also when I check the version of java in cmd shows the following:
java version "1.7.0_11"
Java Hotspot(TM) 64-bit serve VM
Now the problem is when I check in task manager it shows the process name as "java.exe *32"
Some of the applications I install complain that I am using 32 bit jdk on my 64 bit machine.
The most likely explanation is that you actually have both 32 bit and 64 bit versions of Java installed, and that some applications are using the 32 bit version, due to the way that they / your system is configured.
You may not have explicitly installed 32 bit Java. It is possible that some of the applications include an embedded 32 bit JRE installation.
If you have an application that insists that it won't run on a 32bit JRE, your options include:
look for and uninstall any explicitly installed (standalone) 32-bit JREs,
get hold of a 32-bit version of the application, or
read the installation / configuration documentation for the application for clues on how to force it to use a specific installation.
I was trying to install IE 8 on a Win Server 2003 SP2 on a Xeon machine.
I went to Microsoft download site and got this file (for Windows Server 2003 64-bit)
IE8-WindowsServer2003-x64-ENU.exe
But during installation I got an error of "The image file update\iesetup.exe is valid, but is for a machine type other than the current machine"
For completeness, I then tried download the other file (for Windows Server 2003 32-bit)
IE8-WindowsServer2003-x86-ENU.exe
And this one gave me an error message of "... is not a valid Win32 application"
Any idea?
Install this version from the link above. it should solve the issue.
http://www.microsoft.com/en-us/download/details.aspx?id=20335
Also check your os base. You can type this command at the command line:
systeminfo