Eclipse is not opening on WIN10 64bit - java

I have Win 10 64 bit.
This is the log file in metadata folder:
Cannot load 64-bit SWT libraries on 32-bit JVM

Thanks I've installed 32-bit version and it worked!

Related

Java SE Development Kit 8u20 Install Options

I want to install JAVA from the link:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
I am using Windows 7 (32 Bit OS) in Dell Vostro Laptop with Intel Core i5 2.50 GHz
Now in the link, there are 2 installations for Windows:
Windows x86 161.08 MB jdk-8u20-windows-i586.exe
Windows x64 173.08 MB jdk-8u20-windows-x64.exe
Which one I had to select to install JAVA 8?
Windows x86 161.08 MB jdk-8u20-windows-i586. You cannot run 64bit applications on a 32bit Operating System. You have no choice but to go with 32bit (x86)
You will need to run Windows x86 161.08 MB jdk-8u20-windows-i586.exe unless your computer has a minimum of 4GB of RAM... Also you will need to look at this other post of mine to setup your environment variables in Windows. https://stackoverflow.com/a/22368507/3250752. Your environment variables need to be setup if you intend to use the command prompt or CMD in Windows to compile your applications and run them....

JVM 32 bit installed in the Win7 64 bit Os, but it is not recognized

I have my toolchain compiled for the JVM-32 bit. And I upgraded my Os to Win7 and now the toolchain is dosen't work anymore Throws the error "java.lang.UnsatisfiedLinkError: C:....bin\libgcc_sjlj_1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform".
I had my Java 64 bit installed and through cmd "java -version" I could see the Java version. Then I uninstalled the JVM- 64 bit and then installed the 32-bit JVM, the cmd says, "Java is unrecognised program", well I have restarted my though. how can this be tackled?
Make sure that the environment variable JAVA_HOME leads to your JDM installation directory and that $JAVA_HOME\bin has been added to your PATH env variable
This should fix the problem

JRE 1.7 compatibility with win7(x64)

Is jre 1.7 (32 bit) compatible with windows 7 64 bit OS ?
I am using jre 1.7 update 9. When I login into the application, it is not opening. This is a jre issue but I wanted to know if 64 bit OS supports 32 bit jre. Application works fine with a 64 bit jre. But I want to make it 32 bit compliant.
The Windows 32bit JRE can run on Windows 64bit.
You are saying that you're trying to "log into" your application. Is that an Applet?
If so, then you have to ensure that your browser runs in 32bit mode:
If you install the 32bit JRE, then the Java Plugin (allowing you to run Applets) will only work under 32bit browsers.
If you install the 64bit JRE, then the Java plugin will only work under 64bit browsers.
To support both 32bit and 64bit browsers, you have to install both JRE's.

Windows 32-bit Eclipse installed on a 64-bit OS?

Can I have Windows 32-bit Eclipse installed on a 64-bit OS? I have some plugins which works only on 32-bit Eclipse so shall I install the 32-bit Eclipse? And what about my JAVA then? Should I have Windows x86 or Windows x64?
Appreciate your time!
You can install 32bit Eclipse on 64bit Windows without an issue.
The Windows OS has facilities to deal with 32bit processes.
Yes. You'll need to install the 32 bit version of the JDK and set the JAVA_HOME environment variable to point to it. Then you can start Eclipse by specifying the java VM in eclipse.ini or via a batch script.
#echo off
start "Eclipse %WORKSPACE%" eclipse.exe -data %WORKSPACE% -vm "%JAVA_HOME%/bin/javaw.exe"

Java loading library windows 7 64bit

I have a java webstart program, it runs on xp, osx, vista, and windows 7.
I just tried to run it on windows 7 64bit and it is having a problem loading a library.
On this win7x64 machine I have the 64bit jdk/jre and the library it is not loading is swt-win32.dll. Yeah it's 32bit, but I'm getting:
Exception in thread "Thread-10" java.lang.UnsatisfiedLinkError: no swt-win32-3325 or swt-win32 in swt.library.path, java.libary.path or the jar file...
I have tried putting the dll on the java.library.path (physically copying it to the folder) and still get the exact same error. So am I getting this error because it's a 32bit dll or because it actually just can't find it? can the 64bit jdk/jre load/use 32bit dll's or do I need to either find the 64bit version of the dll or run the 32bit jdk/jre?
You have the answer already. 64-bit DLL's require the 64-bit JDK and 32-bit DLL's require the 32-bit JDK.
swt-win32.dll is actually a SWT UI framework(eclipse) dll. Try putting it in a directory which is in your system path.
If that doesn't work, then your next best bet would be to get the SWT binaries for 64 bit windows here. I think it works for windows Vista 64. There is no mention of windows 7 but it "should" work.

Categories