I'm working on a web site project with a Java component and am currently testing for cross-browser compatibility. Most is fine but the Java part won't load on 64-bit browsers. Looks like I need a 64-bit JRE to test. Where does one download the (off-line) 64-bit Java runtime installer for Windows?
The official download page is here: http://www.java.com/en/download/manual.jsp
Unless I'm blind, nothing 64-bit there for Windows except a link to notes. Said notes are here: http://www.java.com/en/download/faq/java_win64bit.xml#Java%20for%2064-bit
Particularly relevant excerpt:
"Users should download 64-bit Java software, if they are running 64-bit
IE. For downloading 64-bit Java click 64-bit manual download"
The only off-line installer, as far as I can tell, has only installed the 32-bit runtime. Then we're back at square one! Am I missing something or going nuts?
Might this be the download you are looking for?
Go to the Java SE Downloads Page.
Scroll down a tad look for the main table with the header of "Java Platform, Standard Edition"
Click the JRE Download Button (JRE is the runtime component. JDK is the developer's kit).
Select the appropriate download (all platforms and 32/64 bit downloads are listed)
I believe the link below will always give you the latest version of the 64-bit JRE
http://javadl.sun.com/webapps/download/AutoDL?BundleId=43883
The trick is to visit the original page using the 64-bit version of Internet Explorer. The site will then offer you the appropriate download options.
Java7 update 45 64 bit direct download link is:
http://javadl.sun.com/webapps/download/AutoDL?BundleId=81821
You can also just search on sites like Tucows and CNET, they have it there too.
Related
I'm attempting to install Java 8 JRE on Window 10, and it's failing. The purpose of this is so that I can install SQLWorkbenchJ on my Windows machine. This is my personal machine, and I have complete access privileges. Please let me know if I can provide any additional information to answer this question (e.g., logs).
I've downloaded Java 8 from Oracle, specifically the offline 64 bit version for windows. When I download it, it places the following icon on my desktop:
When I double click on this icon, the following image pops up:
After I click "Yes" and the popup box disappears, nothing happens. Windows continues operating as if nothing happened. The only trace of activity is in the task manager, which shows the following:
Does anyone have any suggestions on how to fix this? I'm at a loss for how to push the installation process forward.
Update: I was able to solve this issue by installing the x86 version (32 bit) instead. I'm not sure why the x64 version doesn't work on Windows 10, but I'd seen this solution subtly referred to elsewhere on the internet as a solution. Would be interesting if someone could figure out why the x64 version itself doesn't work.
We have two concerns here - 1. JRE 8u101 (64-bit) fails to install without an error message and 2. JRE 8u101 (64-bit) fails to install on Windows 10.
The first one seems similar to http://bugs.java.com/view_bug.do?bug_id=8148167 which is a known issue.
However, it would be appropriate to take a look at jusched and JavaDeploy log files to confirm the same.
The second concerns with 64-bit JRE installation in Windows
Microsoft Edge on Windows 10 is not supported a supported browser.
For Internet Explorer 11 on Windows 10, see:
Related bug ID: http://bugs.java.com/view_bug.do?bug_id=8162523
For a solution related to 64-bit installation, suggest you to follow the instructions from the comment in the above bug report.
Hope this helps.
This is known issue https://bugs.openjdk.java.net/browse/JDK-8148167 , this has already fixed in 8u111/8u112, early access builds are available here - https://jdk8.java.net/download.html, you can download and try to install the same. Do let us know your feedback?
I was having this issue as well and the 8u112 worked from this page
Thank you
I've been working for a couple of days with GTK3+ under Linux in C++ and I've used Glade to design my GUI. In my C++ code, I call gtk_builder_new_from_file instantiate the GUI.
Now I was trying to do the same under Windows. So, I downloaded the latest version of GTK+ (3.6.4, all-in-one 64-bit bundle). The problem is: I can't find the function gtk_builder_new_from_file. I've searched for it in all files too, but it seems not to be there. I've checked the documentation, and this function should be present since version 3.10.
So, why can't I find it? Is a Windows compatibility issue?
3.6.4 is a smaller version number than 3.10 so there does not seem to be any mystery here.
You should use gtk_builder_add_from_file () instead if you can't find a newer Windows bundle.
I like to use command line to install Tomcat as a Windows service. There should be the service.bat file for this purpose. But it is missing from Tomcat 7.0.37 and 7.0.39.
We can not use Windows installer for embedded, so this is not an option.
Thanks for help.
Are you sure you have downloaded the right package?
From the download page for the latest Tomcat 7 version (7.0.39 at the moment of writing this) choose depending on your needs:
32-bit Windows zip
64-bit Windows zip
Both packages have service.bat in the bin directory.
Also on the download page read the README file for packaging information. It explains what every distribution contains.
UPDATE
From the README file for packaging information (emphasis mine):
apache-tomcat-[version].zip or .tar.gz
Base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native library for Windows.
apache-tomcat-[version]-windows-x86.zip
32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with
32-bit JVMs on both 32 and 64 bit Windows platforms.
apache-tomcat-[version]-windows-x64.zip
64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with
64-bit JVMs on x64 Windows platforms.
You may also find it useful reading the RUNNING.txt file, which is available in every distribution. It contains important details about installing/configuring/running Apache Tomcat and also Windows and *nix specific instructions.
Tomcat is a Java application. So it is cross-platform. But if you want/need to utilize Windows specific features, like Windows services in your case, then you should download the Windows specific distribution.
Other thoughts
I myself on my Windows machine use "Base distribution" (i.e. not Windows specific, but an ordinary ZIP file available on the download page under Binary Distributions => Core) without any problem whatsoever, because I prefer not to bother with installations (i.e. running the installer), but just to simply unpack the distribution to the desired directory and manually configure it using the related config files. It's so much easier and convenient both to install (just unpack) and delete the installation (just delete without running any uninstaller), and it's more portable. Plus this way you can install multiple versions of Tomcat on the same machine (in case you need this for some development/testing reasons).
Here is a very useful step-by-step tutorial with some nice illustrations and explanations:
How to Install Apache Tomcat 7/8 (on Windows, Mac, Ubuntu) and Get
Started with Java Servlet
Programming
In the official web site, under core. Don't download the version tagged zip. Download the version tagged 32-bit Windows zip or 64-bit Windows zip. You will find Service.bat under Bin
Our software has a swing panel that's used to list jdk installation paths. For example, if there are 4 jdk installed in user's PC and the jdk paths are listed in the panel:
C:\Java\jdk1.5.0_19\bin\java.exe
D:\software\Java6\jdk1.6.0_31\bin\java.exe
D:\software\Java6\jdk1.6.0_31_64\bin\java.exe
D:\installedapp\jdk1.7.0_03\bin\java.exe
The user needs to pick one of jdk installation paths to install our software. We want to know the bit version (32bit or 64bit) of jdk picked by user, how can we do that?
well, if you know the location, you could probably use Runtime.exec("pathToJavaInstallPath/bin/java.exe -version")and capture the version that way. That's at least one brute force way.
Sample output:
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
You can also use GetBinaryType Win32 API function to determine whether the given .exe is 32 or 64 bit.
See question How to detect that a given PE file (exe or dll) is 64 bit or 32 bit for more details.
You can read the version of Java that's executing using the "java.version" property:
http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
You can also read the architecture (e.g. x86 vs amd64), OS and JRE home.
My application throws the exception below.
Exception in thread "main"
java.lang.UnsatisfiedLinkError: Cannot
load 32-bit SW T libraries on 64-bit
JVM.
How to solve this? What is the name of jar file needed?
On 64-bit JVM's you need the 64-bit SWT. Current versions can be downloaded here:
http://archive.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php#SWT
Note the first two downloads, the first is for x32, the other for x64.
Note: Even on 64bit Windows, if you use the 32bit JVM, you still need the 32bit SWT version!
I faced the same problems a couple of weeks ago. We develop an RCP application that must use 32bit SWT, but we work on 64bit machines.
What we had to do was to change Eclipse's configurations so it pointed to a 32bit JVM. We did it on Window -> Preferences -> Java -> Installed JRE's. On this preference page, we changed all references from "Program Files" to "Program Files (x86)".
I hope it helps you somehow.
For the latest link to SWT library downloads:
SWT project page
My answer is more less compilation of above posted answers, especially the comment of the user #ClickUpvote who provided (by my opinion) the best answer. So here it is, I tested it just before posting it:
If your application throws the exception below (On Windows 7 64 bit, with JVM 64)
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SW T libraries on 64-bit JVM.
Then the solution is as follows:
On 64-bit JVM's you need the 64-bit SWT.
Current versions can be downloaded as described below - pretty well hidden:
Go to: http://www.eclipse.org/swt/
Scroll down to Releases
Click on more at:
Stable
Windows, Linux, OS X, more...
In new page that opens just download this file (at the time of writing this post URL is
( http://download.eclipse.org/eclipse/downloads/drops4/R-4.4-201406061215/#SWT )
Windows (x86_64) (Supported Versions) (http) 6.3 MB swt-4.4-win32-win32-x86_64.zip
And that is exactly the version you need.
You're simply building against the wrong version of SWT. Either download the 64bit Eclipse or grab the delta pack and build against the correct target environment.
Those links are all a little out of date for downloads of the 64-bit versions. Try this one: http://jarfiles.pandaidea.com/swt.html, found after an hour of googling.