java not running in any browser - java

I have two versions of Java installed on my computer:
I have allowed java to run in the browser:
Java is running in command line:
This is the error I get:
I have also enabled scripting in the browser settings. I have restarted the computer and I have also tried uninstalling all Java and reinstalling it. I am not sure what else I can do?

Could you check the below settings(as shown in screenshot) is enables in your java control panel.

I have solved it. Even though I am using a 64 bit machine, if I install a 64 bit version of Java it will not work. I installed a 32 bit of Java and now it works.

Related

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!

How to run java 8 applets with java7u60 plugin?

I'm on clean install Windows 8.1 and I'm trying to run the java 8 example applets provided by oracle.
I've:
Downloaded jdk8 x64 (which installed the jre8 also)
Tried to run the applets, but then had to follow the link to install the latest plugin (java7u60) ( I didn't install the 7u60 jre, just the recommended plugin).
It is verified on the java verification page
I now have JDK 8, Java 8, and Java 7u60 as installed programs. Which I think is what is causing the problem.
Tried again and got them blocked by security settings
Went to control panel>java control panel and changed to medium setting
Tried again and got block by security settings again, they are being reverted as soon as I try to run an applet.
Found https://www.java.com/en/download/help/javacpl.xml and tried it, but they still revert when I try to run an applet.
Tried to run jre8/bin/javacp.exe directly as administrator, didn't help either.
Any help on what my next step is? I can't find a java 8 plugin for chrome or firefox so how are they suppose to run the example java 8 applets without it?
Thanks

Can not run Java Applets in Internet Explorer 11 using JRE 7u51

Today I updated my Java version to 7u51. After the installation, I cleared Java Cache, browser's Cache, and logged into a secure website that uses an Applet to provide certain additional services to the user.
The applet is not working anymore. I accessed http://www.java.com to check the Java version detected in Internet Explorer, and the java website says:
We are unable to verify if Java is currently installed and enabled in your browser.
Other browsers can check Java, and the mentioned applet works as expected:
As the applet works as expected in other browsers, I can assume the problem is not the Applet nor its deployment files/processes, but the compatibility of JRE 7u51 with IE 11. I would like to know if there is any workaround for this.
As additional measure, I used the java.com tool to uninstall any previous and unsecure JRE version (using Google Chrome). After double checking IE 11, I can see the Java Addons enabled and versioned to 7u51:
I know IE has been improved; even so, we recommend to our customers to use Google Chrome or Firefox as these browsers have proven to be more compatible with our web applications. Unfortunatelly, we can not force our customers to use certain browser due to the common organizational restrictions about programs usage, etc.
Update (01/20/2014):
The following screenshot shows Internet Explorer 11 with Compatibility View configured for "java.com". It doesn't fix the problem in this case.
We had the same problems with IE11 and new Java.
Try to add your site to compatibility view.
You can find here how to do it.
How to enable compatibility view in Internet Explorer 11
You can try now if it works or not.
After that you can remove site from compatibility view and it should also run.
I had the same problem with Java 7 u51.
Only after I reset Internet Explorer it work again, Java was enabled in browser etc.
Internet options -> Advanced -> Reset...
The behavior of applets changes significantly with update 51. It's going to be a confusing couple of weeks for RIA developers. Recommended reading: https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
We see the same problem with Java 7u51, IE11 and Windows 8.1. As detailed at http://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/windows-81-ie11-java-7u51-combination-doesnt-work/24af818d-7196-4dd5-96f5-9c0c65223744 and http://mail.openjdk.java.net/pipermail/security-dev/2014-January/010048.html and in a bug report submitted to Oracle on 17 January 2014 we find that all is OK until you agree to Java making changes to your system after installation. Once you allow the post-installation permission, Java is disabled. Other than constantly fighting off permission requests, the only workarounds we've found are to use a different environment: browser (use Firefox or Chrome), OS (use Windows 7) or Java version (use a Java 8 build).
Go to Control panel.
Double click on Java.
Go to Security tab.
Change security from high to medium.
Your applets will run.
If they are still not running then you have to add that website name in exception site list of Security tab of Java in Control panel.
I know Mickey S. solved his issue with Java 8, but Pavel S. was on to something. If you're working locally with an applet, setting your Intranet Zone to Low security and then setting Java security in Control Panel -> Java -> Security setting to Medium from High does solve the problem of running local applets with Java 7u51 (and u55) on Win 7 with IE 11.
(Specifically, I have a little test tool for barcode generation from IDAutomation that is crafted as an applet which wouldn't work on the above config, until I performed the listed steps.)
I've just resolved the problem on two PCs (Win 8 64-bit with IE10; Win 8.1 32-bit with IE11). With Java 7 Update 67 both cases (same with update 65 and, probably, others).
In my case, it was caused by java ssv, which first requested admin rights, then Java stopped working because it messed something using them.
So, my resolution was:
Reinstall java. No reboot required, but close browsers beforehand. Also, it's not required to uninstall it before running installer (I didn't).
On 1st (or 2nd) launch of IE, privilege elevation will be prompted for Java SSV. If denied, it will pop up again. Multiple times. Important here is to deny them all.
To stop these prompts, disable Java SSV helpers (both of them) in Add-Ons or when IE prompts about startup times.
After that, http://www.java.com/verify/ prompts to run Java (twice, 1st time IE, 2nd time Java itself) and, when allowed, says everything is OK.
(will give more screenshots if anyone will ask)
Its not about security settings .. its the UserAgent in IE11 ( in IE11 its Trident while all previous versions of MS IE were MSIE ) so I suppose that Java deployment tool cannot recognize new baby of MS .. and send you back to install Java ..
I already ask if there is any temporarily solution till Oracle guys make new release
JavaFx web not working with Internet Explorer 11 with JRE7
update:
btw applet is working at least on the oracle test java page : http://www.java.com/en/download/installed.jsp
I just uninstall all JAVA from PC then reinstall latest version and disable then enable "Java(tm) Plug-In 2 SSV Helper and Java(tm) Plug-In SSV Helper " # manage add-ons. before testing java on web. and it works ..
so I think its JavaFX not applet ..
since JavafX is using dtjava.js while webstart(applet) using deployJava.js.
I ran into a similar issue that impacted all my browsers. After completely uninstalling all my JREs and JDKs then startig from scratch, I ran into the same issue. I'm running Win 7 pro 64 bit.
I detailed out the solution here (Why does Java 7 fail to Verify after successful JRE installation - Java 7 not running my any browser)
but basically I added this "-Djava.net.preferIPv4Stack=true" to my vm args (set in the Java Control Panel, under Java tab / View) and that solved the issues I was facing... seems like a hack but I guess the latest JRE does not handle IPv6 type requests properly
Update deployJava.js.
Our site uses a local copy of deployJava.js; updating it to the latest copy has fixed this issue in IE11. (We will probably just start using the web version of deployJava.js instead of a local copy).
However, a (very) similar problem persists for our Safari users.
Once Java(tm) Plug -In 2 SSV Helper was incompatible
Above solution did not work for me.
I solved it with the below instruction.
1. Go to IE settings
2. Internet options
3. Select Advanced tab
4. Scroll down to Security
5. Uncheck “Enable Enhanced Protected Mode”
6. Click OK and restart the browser
Try this. It worked for me.
Go to RUN and type gpedit.msc then completely disable Onedrive. Have you noticed that the problem only existed after the last large download from Microsoft? It contained this package. I also removed it from the Start menu.
This appears to be the cause of the issue. Something to do with downloading temporary files, which of course an applet is.
Once done everything went back to normal.
Had the same problem recently on IE11 with Windows 7.
Applets worked fine before but they stop working from one day to another.
I solved it adding the applet sites to trusted sites and config this with low security level.
Finally resolved my java install issue on Win 7 64-bit running IE11.
Even though I installed the latest Java (65) via a java auto-update prompt, tried a verify java version and java failed to run, shut down all IE instances, failed to run verify again, shut down all running programs, failed to run verify again, rebooted, failed to run verify again, re-installed 65 again (shutting down the browser manually as it downloaded), and finally verify ran. What a pain.
The message I kept receiving was "The page you are viewing uses Java ..."; e.g. https://www.java.com/en/download/help/ie_tips.xml. I do use sleep mode on my desktop and I believe that this is probably the major issue with install and IE with its "clever" integration into the OS and explorer/desktop. I thought the government told them to not do that. I've had issues with CD-ROM drive disappearing and other unexplained periodic issues; all cured after a full reboot. They are infrequent, so I live with them for the convenience of faster startup times.
Hope this helps someone!
I had this problem on a client's pc in IE 11 with Java installed. It worked fine in Chrome, but wouldn't work in IE. After several days of TS, I just tried unchecking ActiveX Filtering in settings->safety. Now Java works fine.
I had similar problem and I've solved them using embed tag instead of object.
I'm deploying applet using JQuery and:
embed works on IE 11, Firefox 26.0,
object works on Firefox 26.0, Chrome 32, (on IE 11 was about 10 second delay after each page reload) and
applet works on Firefox 26.0, Chrome 32.
I put draft of my script bellow:
var baseurl = location.protocol + "//" + location.host + "//";
var common = 'id="appletid"'; // and more
if (priv.IsIE()) {
var embedTag = '<embed ' + common +
' code="main.java.MyApplet.class"' +
' name="' + appletName + '"' +
' codebase="' + baseurl + 'Applet"' +
' archive="Applet.jar,jna.jar"' +
' scriptable="true"' +
' mayscript="true"' +
' cache_option="Plugin"' +
' codebase_lookup="false"' +
'></embed>';
appletHtml = embedTag;
} else {
var objectTag = '<object' + common + '>' +
'<param name="java_code" value="main/java/MyApplet.class" />' +
'<param name="mayscript" value="true" />' +
'<param name="scriptable" value="true" />' +
'<param name="cache_option" value="Plugin" />' +
'<param name="codebase_lookup" value="false" />' +
'<param name="java_codebase" value="' + baseurl + 'Applet" />' +
'<param name="cache_archive" value="Applet.jar,jna.jar" />' +
'</object>';
appletHtml = objectTag;
}
$('body').append(appletHtml);
In the Java Control Panel, under the Security tab, uncheck "Enable Java content in the browser" and Apply it. Then re-check it and apply again. This worked for me, and I had been struggling with this issue for days.
If you are running Windows 7 64-bit, I would strongly suggest you download the 64-bit Java installer. There is no sense in downloading the x86 installer on an x64 based OS.
That corrected the problem for me.
This type of issue is cropping up again using the Windows 8 / IE 11 combination with the new version of Java (1.8.0_31). The installation seems to work, but after installing Java via the Java Control Panel Update tab, every time you run a Java applet you are told your version of Java is outdated, but when you follow the prompts to again update, you are told your version of Java is newer than the one on the web.
As with a previous iteration of such problems, what worked for me was, after installation, unchecking "Internet Options | Security | Enable Protected Mode", running a Java applet and then re-checking it and everything is fine.
Do people at Oracle not test on Windows 8 with IE or does this only happen for people with particular extensions enabled?
As before, this problem didn't happen on Windows 7, but there I noticed that the SSLv3 changes now prevent you from running a local applet in Internet Explorer unless you remove that line from the java.security file. But this problem doesn't happen on Windows 8, so it is not clear what is actually happening.
If Oracle doesn't make the update process less rocky, people won't update. I've seen many people lately using 2009 versions of JRE 1.6. That is the sort of situation that often doesn't end well.
For Windows 8.1 Users.... there is a little note on the java download site which says:
"Downloading and installing Java will only work in Desktop mode on Windows 8 and Windows 8.1. See the Java on Windows 8 FAQ for more detailed information."
Unfortunately, "Desktop mode" is not the default mode in Windows 8.1. After installing java and wasting 2hours trying to get java working with IE11, I went back to oracles site...paid a bit more attention to that warning!! switched to Desktop mode, and reinstalled java... hey presto it worked.
Furious, that java download does not work with the default config of Windows 8.1, don't know who to be more angry with? Oracle or Microsoft? ( or me for skimming over the warning..)
I had a problem with Java 8u31 and IE10, it didn't see Java until I did 2 things:
delete temp files (all kinds)
reset all zones to default (Options -> Security -> ...)
Also experienced issues with Java the last 2 weeks no longer working in IE 11 under Windows 7 x64 (reverted to Chrome where it DID work)
I had to go through (ALL) the following steps in order to restore Java operation:
Try and install latest Java => Error was produced 'The installer cannot proceed with the current Internet Connection setting'
Hit 'Retry', and the installer started working
Java 8 update 40 was installed successfully, however Java still doesn't work in IE (after closing IE / reboot)
Removed older/outdated versions (either using the Oracle-Java tool or through Install/Uninstall programs). In my case, I was able to remove old version 7 update 71.
After another attempt to close IE completely and restarting Windows did not resolve the issue (as before, testing Java operation using the Oracle-Java online tool failed to work and even failed to produce the 'grey box' that is always shown (in spite of the fact that the Java-plugins are loaded and activated)
Finally restored IE settings through:
Internet options -> Advanced -> Reset
(Note: I tried that before 1 week earlier, but then this DID NOT yield a solution either)
Eureka, it works again !
Result is now as follows using the Oracle-Java online test tool, and any Java-applets now work again in IE11:
"Gefeliciteerd!
U beschikt over de juiste Java-versie. (Version 8 Update 40)."
I was having same issue. Now it's solved. If someone is still having same kind of issue can give a try:
Upgrade Java to latest version (and uninstall all previous version of java)
Add the url to the Exception site list in your Java Control Panel Follow Instruction Here
Not exactly the same problem for me, because I was running the last java version 1.8.0_92, IE v11 and windows 7.
My situation was also that I had Chrome as the default browser.
So what for me fixed it, was to set IExplorer as the default browser again, uninstall Java, go to Java.com using the IExplorer, and from the IExplorer download and install Java again to the last version.
Today, I stuck with this error, and went through all the answers but nothing worked out for me.
For me the issue was **Java version**.
Initially, I installed Java 8 Update 251 x64 which actually was the reason of my issue applet not working issue with Internet Explorer version 11.
Solution
Uninstalled Java 8 Update 251 x64
Installed Java 8 Update 251 x86
issue resolved.
I had a REAL problem finding jre 7u45 to download and re-install after 7u51 screwed up my Windows 7 system. I logged in to my Slackware Linux box and downloaded jre 7u45 this way:
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "https://edelivery.oracle.com/otn-pub/java/jdk/7u45-b18/jre-7u45-windows-x64.exe"
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "https://edelivery.oracle.com/otn-pub/java/jdk/7u45-b18/jre-7u45-windows-i586.exe"
Then I put the files on a USB stick and installed the x64 version on my Windows system.

trouble running eclipse from usb

I am trying to run Eclipse Kepler from a usb drive. It will work when coding but when I come
to run the program it shows
error = 216. This version of %1 is not compatible with version of windows you are running.
Eclipse runs fine at home (windows 8 64bit Java 7) but the issue happens at college (Windows server 32bit java 6) Can anyone shed any light on possible issues please.
The JDK and JRE are installed on the USB device and running Java 7. 32 bit Eclipse is installed to USB also. Is it even possible to run java and eclipse as standalone from a usb?
The error code 216 generally means that there is a problem in the 32/64 bit version mismatch between your applications or OS.As you say your eclipse and OS is 32 bit could you please also check if the JDK you are using is 32 bit ?

Trouble with Browser type SWT.MOZILLA on windows 8 64 bit

after spending a day reading here and there I decided to ask help as I could not find a solution to my problem.
I have to create a java/swt application embedding a browser with full HTML5 support. That works out of the box on both linux and osx with SWT.NONE browser type (using webkit).
Unfortunatelly I have lot of troubles on windows.
First let me say that I'm using SWT 4.2.x on windows 8 64 bit.
To make SWT browser work with webkit I had to install 32bit JVM and manually point to it (as the -d32 switch on default 64bit JVM says that no 32 bit JVM is installed). ALso installed Safari.
And also I had to use 32bit SWT library. WHen finally I got it run I discovered that Safari for windows does not support drag and drop as experienced and stated here:
http://www.w3schools.com/html/html5_draganddrop.asp
So I decided to switch to mozilla. According to Eclipse/SWT documentation I have downloaded and installed XULRunner 1.8.0.1. I have unzipped it into C:\Program Files (x86)\Mozilla\XULRunner\1.8.0.1\xulrunner and run xulrunner --register-user (and also --register-global)
Finally in my code I added
System.setProperty("org.eclipse.swt.browser.DefaultType", "mozilla");
I have also set a global environment variable "MOZILLA_FIVE_HOME" pointing to the same XULRunner installation dir.
But then, when I run my java program (32bit JRE, 32bit SWT) I get
Exception in thread "main" org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME may not point at an embeddable GRE]
How can I fix that?
Thanks in advance!
EDIT:
I was running command prompt not as administrator and xulrunner was not registering. Doing as administrator, worked. However I'm still in trouble: XULRunner 1.9.x seems not to support HTML5. For example element.children is not supported.
I managed installing XULRunner 10.0.2 that seems to have the required support. However as soon as I click into my embedded browser, the application just crashes without printing any error on java output console...
I need to find a solution in order to use either ecent version of mozilla or recent version of webkit on windows
Ok, loading XURLRunner 10.0.2 works. The crashing app was due to a stack overflow error in my js code.
I too am trying to embed XULRunner into my eclipse plug-in, with no luck (currently). I came across your answer here. Just wanted to comment that it is not reasonable that you executed
xulrunner --register-user
nor
xulrunner --register-global
on the XULRunner 10.X since according to this post
https://stackoverflow.com/a/7567781/1743693
the support on installing the XULRunner system-wide was removed (which was a good step IMHO)
Trying to execute the aforementioned commands will result
"Error: couldn't parse application.ini"
As for my problem: I keep running into the runtime error:
Can't load library:
C:\Users\david\.swt\lib\win32\x86_64\swt-xulrunner-win32-4236.dll
C:\Users\david\.swt\lib\win32\x86_64\swt-xulrunner-win32.dll: Can't
load IA 32-bit .dll on a AMD 64-bit platform
And I can't figure out where this is coming from.
I'm running a VirtualBox with Windows 8 64bit
If you can elaborate more on what solved your issue with that - i would really appreciate that.
Thanks.

Categories