Applet strange issue with different version of IE - java

I know when we open an applet on 32 bit IE it requires 32 Bit JRE and vice-versa with 64 Bit.
Strange issue i noticed on my machine, is this, When i open an Applet on 64 bit IE(with 64 bit JRE) it makes an file in temp/hsperfdata_user folder but when i open same Applet on 32 bit IE(with 32 bit JRE) it not make a file in temp/hsperfdata_user folder.
I could not locate , why this happen, i stuck any help will be appreciated.
I have following version installed on my machine.
IE 11
JRE 32 bit with 1.8.0_172 version
JRE 64 bit with 1.8.0_162 version

Related

Do I have 32 bit, 64-bit Java or both?

I see this in the Java Control Panel
Platform: 1.8
Product: 1.80_131
Location: http://java.sun.com/product/autodl/j2se
path: c:\Program Files\java\jre1.8.0_131\javaw.exe
architecture: x86_64
The Architecture value, x86_64, suggest both 64 and 32 bit but the Java web app that I am trying to access, Oracle Discoverer, part of the Enterprise Business Suite, only works with the 64 bit Internet Explorer, suggesting to me that 32 bit Java is not installed. Is it? Or is there a problem with it?
x86 and x86_64 are both architectures; the first one is 32 bits and the second one is 64 bits. You can install as many java versions as you want side-by-side, you would just point to the one you want your application to use.
The x86_64 means it is a 64 bit architecture (see also x86-64 on Wikipedia), if it had been 32 bit, it would just have been x86 (see x86 on Wikipedia).
In any case, it is perfectly fine to install a 32 bit Java next to a 64 bit Java.
x86_64 means 64 bit java.And the path "c:\Program Files\java\jre1.8.0_131\javaw.exe" also proves that you installed 64 bit java, otherwise, the path should start with "C:\Program Files (x86)".
64 bit Internet Explorer can access both 32 bit and 64 bit java web servers.
Internet Explorer does not need to run on java environment(unless you are developing a Applet application.) which means you can run Internet Explorer without java.
Conclusion:
Your environment has installed 64 bit java, and there is no problem to you!

Eclipse updgrade 32 bit to 64 bit windows 7

I am running 32 bit windows with 32 bit Eclipse Luna and 32 bit Java 7 for android development. No issue. Now I am planning to upgrade RAM and install 64 bit Windows 7. So my question is if I upgrade my Windows 7 from 32 to 64 bit, keeping all program files(which are in C drive) and then download and install 64 bit Eclipse Mars with Java 7/8 64 bit, will my workspace open and work as like now? Or I have to format C drive, install 64 bit Windows 7 and freshly install Android SDK etc ? My workspace is in D drive.
If you want to switch to 64 bit. you need to download eclipse and JAVA for 64 bit. And you can link your existing SDK to the new eclipse in windows tab. as I did the same thing in my PC it's working fine for me
Linking Android SDK to eclipse
in Eclipse--> Window --> Preferences --> Click On Android --> Browse your SDK location--> Click Ok.
It is possible to instal JRE in to Program Files for 64 bit, other JRE in to Program Files(x86) for 32 bit.
And then to change the JRE in : Windows > Preference > Java > Installed JRS's > edit or add.

Eclipse, JRE & JDK on Windows 8.1 (64 bit)

I know similar questions have been asked before, but I am still unsure what I should do.
I currently have the latest JRE 32 bit installed on my 64 bit machine. This is the version I was recommended when I went to the download page for the first time. I suspect this was because I was running 32 bit Chrome and from what I understand it is important that the JRE version corresponds to the flavor of the browser you are using (bit wise). I also have 64 bit IE on my machine, but I hardly ever use it, so I didn't do an additional install of the 64 bit JRE, as suggested here: https://www.java.com/en/download/faq/java_win64bit.xml
Now I want to install Eclipse Epsilon and I am unsure if I should go for the 32 or the 64 bit version.
Do I have to go with 32 bit because I have JRE 32 bit installed?
What if I install JDK 64 bit? Should I go for 64 bit with Eclipse also in that case? Here Java and Eclipse - 32 vs. 64bit
the conclusion was that I should install the bit flavor of Eclipse corresponding to the JRE version I have on my machine. But I've read in another post that the JRE just runs the bytecode and it doesn't matter if it was generated by a 32 or 64 bit compiler - it will run it correctly anyway. Am I right then in my understanding that Eclipse should be the same bit flavor as the JDK (if installed on the machine) or as the JRE otherwise? I've even read somewhere that I won't even need the JRE if I install the JDK, since it comes with several JREs.
Do some Eclipse versions come with JDK?
I need to install Eclipse Epsilon (Eugenia, Xtext) for my current coursework and it only requires JRE and not JDK.
What would be your suggestion in this case?
What about the long run?
What if I install Chrome 64 bit instead? Since I would be running only 64 bit browsers on my 64 bit machine I suspect I would then only need JRE or JDK 64 bit and Eclipse 64 bit.
This might sound really silly, but what about source code that I might receive from other sources (written/precompiled in a 32 bit environment) - would I have any problems handling it?
I want to make sure I get this right, so as to not have doubts again in the future. Thank you!

Run a 32 bit dll on 64 bit system

I have a 32 bit .dll (sqljdbc_auth.dll) and develope on a 32 bit jdk. My System is 64 Bit. It works all the time, but now i create a runnable jar file, this file can be execute. But when i started it over a Batch File (-jar %~dp0\ScheduledPerformanceanalyse.jar) it dosent work.
Warning: Faild to load the sqljdbc_auth.dll: Cant load aIA 32-bit .dll on AMD 64bit platform.
By changing the dll to a 64 bit version it works fine, but only by the batch, by my Web-Applikation it doesen't.
My Question: How can I fix the problem without changing my jdk to a 64 bit Version?
EDIT:
I found the solution, the problem was the jre 64 bit. On the working system were both jre's installed. The batch-File used the JRE 64 not the 32 bit...

Why Java is not launching when I use version 7 instead of 6?

When I install version 7 of Java on my windows 7 64 bit machine (I install this version 64 bit, windows with SDK) then Java does not launch when entering a website with applet. But when I use version 6 everything works fine.
On the other hand, while compiling (with Netbeans 7.1.1) everything works fine on both of these versions. Java programs also work fine when launched from command line with java command.
What is going on?
EDIT
Now I have tried reinstalling everything with Java 7 update 4 (64bits) but it still does not work. The problem might be somewhere in PATH variable because the java icon does not appear in the tray when I am entering a site with applet but still - I have added C:\Program Files\Java\jre7\bin to PATH and it does not work.
The Java Plugin must be in same hardware specification than the browser.
So if you install Java 64bits, it will run in IE 8 or 9 64bits.
But Firefox is only provided as 32 bits binary for Windows from the standard download channel. You should try with Firefox 64 bits.
Probably your Opera version is 32 bits too...
I invite you to cross-check by installing a 32 bits browser (Firefox standard binaries) and a JDK 32 bits on Windows 7 64 bits. It should work.
Its likely that your Java path environmental variables weren't updated. Check out this link. Make sure its pointing java to the 7 exe.

Categories