We deploy our application as a JNLP launch file and/or as a webpage applet.
I have a customer that updated his MAC OSX system to the latest Java Version 1.8_40. After upgrading the JNLP launch stopped working. It seems to start Java (flashes blue java logo) then stops. No Exception is thrown. I suspect yet another OSX security hurdle.
We adjusted his OSX Security settings to trust our application.
We adjusted his Java security to trust our site.
We also adjusted the Safari preferences to allow the application to run unrestricted ("unsafe mode").
The application is signed with a code signing certificate.
The customer can use the Applet launch method using the safari Java plugin.
All other customers (OSX & Windows) are generally fine.
If this is a new MAC Java issue I'd like to get ahead of it.
Anyone else out there see this? Any clues about what is causing the issue?
Our guess is that the cause of this bug has been backported to 8u40. We find that the application cannot get focus once the new blue Java splash screen is shown. We can also reproduce this on all the demo webstart apps on Oracle's own site, so it isn't our code.
You can confirm this bug by running your webstart instance with -Xnosplash to skip that splash screen. Unfortunately you cannot add that parameter to the jnlp file.
We can only reproduce this problem on OSX 10.10 (Yosemite).
A workaround (if you can control the client Java settings) is to add "-Xdebug" in Java Control Panel -> Java -> View... -> Runtime Parameters.
Update: the bug has been fixed and backported to 1.8u40. Oracle have also silently updated their downloads to the new build (1.8u40b27) as can be seen here I don't know that people already running 1.8u40 will get an update automatically.
When i add '-Xdebug' in the Java Control Panel as a Runtime Parameter it works for me.
Related
This morning I downloaded Cytoscape v3.8.0 and I can no longer successfully open the app.
Before this, I was using v3.7.4 (I believe?) and did not encounter any issues. I am working off a laptop with Windows 10.
After realizing that I could not open Cytoscape I went and downloaded the most recent version of Java but that did not appear to help.
I also tried downloading the Cytoscape troubleshooter for Windows, however, it only downloads as a .txt file and I cannot figure out how to use that to test my system.
If I try opening the app, it appears very quickly with "Cytoscape 3.8.0 - Initializing OSGi container..." before crashing.
Any help or insight would be greatly appreciated!
It's a little hard to diagnose your issues without a little more information, unfortunately. When you say you downloaded the latest Java -- which version did you actually download? If you open up a command (cmd) window and change directory to the Cytoscape install, can you try to run cytoscape.bat? What does it do, and what error messages are printed? If that doesn't work, in that same window, type "java -version" and let us know which version of Java is set to be the default. That will help us figure things out.
If you are on a Mac, a recent update has caused OpenCL based Cytoscape Apps to fail and prevents Cytoscape from launching.
This will be fixed in future updates, but you can fix your Mac installation immediately by disabling OpenCL by either of the two following methods:
Download the disable-opencl.dummy file to your CytoscapeConfiguration
directory (in your user home directory).
Or, you can create an empty dummy file by running this command in Terminal:
touch ~/CytoscapeConfiguration/disable-opencl.dummy
These fixes are described at Cytoscape.org.
My java applet stopped working in firefox, but it works fine in IE. Since there is increasing number of people having the same issue, I suppose the issue might have been caused by new java update.
I have checked the release notes and tried proposed workaround, but it didn't help.
All the applet does in Firefox is load and then immediatelly starts teardown, as you can see from the following log:
basic: Applet initialized
basic: Starting applet
basic: completed perf rollup
basic: Applet made visible
basic: Applet started
basic: Told clients applet is started
basic: Starting applet teardown
basic: Finished applet teardown
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter#195f30
basic: PluginMain.unregisterApplet: 1 from mananger sun.plugin2.applet.Applet2Manager#1289261
Any ideas what might help here?
Actually, this problem has various reasons. I am sharing some of them and giving some suggestion link to solve the issue. You have to make some try of them.
Suggestion-1:
this warning isn't coming from firefox but from the java plugin itself - please update your plugins.
some more information about java's security settings are also available at oracle's support: https://www.java.com/en/download/help/jcp_security.xml
Resource Link:
How can I stop Firefox from blocking a Java applet from a site that
I trust?
Suggestion-2:
Remove stand-alone version of JavaFX (Windows)
If you have JavaFX installed then
Find and remove all versions of JavaFX and Java through the Windows
Uninstall Control Panel.
Run the Microsoft uninstall utility to repair corrupted registry
keys that prevents programs from being completely uninstalled or
blocking new installations and updates.
Reinstall Java
Suggestion-3:
Older versions of the Java Deployment Toolkit (DT) and the Java Plugin have been disabled by Firefox. Some Java versions are flagged by Firefox as 'Add-ons may be causing problems'.
If Firefox thinks an add-on is unsafe and can cause a security risk, it will block it from loading. In case of a soft block Firefox will present a warning message but will allow the user to continue if they wish but with compromised security. In the case of a hard block Firefox will block installation so that the user cannot use this add-on. To resolve this, the user should update to latest version of Java.
Workaround
Upgrading to the latest Java 7 version should resolve the issue. If you see the warning message, follow these steps:
Ensure that the Disable box is checked.
Click on Restart Firefox.
Download the latest version of Java..
Resource Link:
Firefox warning message: Add-ons may be causing problems
Suggestion-4:
There are 2 links for java applet issue for firefox and solvency. You can go through:
I can't run applet on my firefox browser
Java applet not working in firefox
firefox is not providing support to applet plug-in.See link https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content
I believe, you are using java 7/8. Have you checked following link of mozilla.
https://java.com/en/download/help/firefox_java.xml. As applet works as a plugin, this option would help.
Update your firefox settings to allow applets, update correct java plugins and permissions inside firefox. Mostly applet not loading issue seems to be permission related.
Some Java applications recently stopped working in Firefox. I believe there was a recent upgrade to Firefox (it is now on 38.0.1), and this may have brought about the issue. My Java version and settings did not change, so I think that it must have been a silent upgrade. Also, the same applications still work in Internet Explorer, so I know that Java itself is still working.
Now, even if I go to the "Verify Java Version" page on java.com through Firefox, I only get a grey box after I click Agree and Continue.
When this issue first came up, I had both Java 6R27 and Java 7R11. I've tried upgrading Java to the latest version 8, but even with that as the only installed Java version, I am not able to run the Verify Java or my other application.
When I launch my main application that needs Java, I get "ClassNotFoundException" for "PasswordDialog.class." How can I troubleshoot why this does not work in Firefox while it does work in Internet Explorer?
Download the jxpiinstall installation not the JDK one.
The best way to install Java and run FireFox is to get the JRE running not the JDK, I found out that installing each on separate folders did the trick for me.
So I have my JDK in : C:\jdk1.8.0_60
And my JRE in C:\Program Files (x86)\Java\jre1.8.0_60
First, you need to remove java from your pc, uninstall FF and reinstall FF then Java
Trying to install Mulesoft's developer studio. Did a fresh download of MuleStudio-for-macosx-64bit-3.5.0-201312091746.zip from http://www.mulesoft.org/thank-you-downloading-mule-studio-mac and unzipped, can't run the MuleSoft.app file.
Only options are to Cancel or "Move to Trash"
Things I've checked:
The checksum is correct: 42433b0ed8e82e969111799f7a2d136c
I tried the Control-Click to open, same problem.
Tried re-unzipping it.
Java 7, 1.7.0_45 64bit
Mac OS X Mavericks 10.9.2 and up to date
The error message is from the Gatekeeper security system built into OS X. According to the help page, this particular message can appear if the application package has been tampered with (e.g. its signature no longer matches the developer's certificate).
This may be harmless, or it may be an indication that the package has been hijacked and contains malicious code. The former is probably more likely, but I would email the developers before opening the package, just to be sure.
The help page for Gatekeeper gives more details, including disabling the feature if you'd like to go ahead and launch the app anyway.
On my Windows 7 x64 machine, I'm having problems launching my remotely deployed Web Start app (the Web Start app launches correctly on another PC as expected). In IE or FF, I click on the web start launch link, the JNLP is downloaded, it seems to get executed and nothing happens. I see javaws.exe processes running. I don't see a java.exe running.
I don't know if it's related but I also can't get the java console to run. In the Control Panel Java applet settings, I have have enabled "Show console" and "place Java icon in the system tray". I don't see the Java icon in the system tray either.
I'm running Java 1.6.0_21 (32 bit). I'm able to run Netbeans so the it appears as if Java is installed correctly on my machine. Why isn't web start working?
A firewall on my corporate joined domain was the problem. It was preventing web start as well as other types of apps from working correctly or even launching. Opening ports resolved it.
Are you absolutely certain that your Windows browser is binding the JNLP suffix to the javaws executable?
If you download the file, and double click, does it open correctly? If not, then right click, and investigate what is presented under Open With...
I had the same symptoms when I switched JNLP specifiction to 6.0. So I simply solved it by going back to 1.5, which I think is default in NetBeans, at least up til 6.7.
<jnlp spec="6.0+"...