Solved

Java Application Blocked (Application Blocked by Java Security)

Posted on 2016-11-11
6
40 Views
Last Modified: 2016-11-20
Hi,

We need to use an older version of java (jre 1.8.0_45) to run a manual which requires to launch Internet Explorer (IE 11 ). The operating system is Windows 7.

In java control panel under the security tab we added our z: which maps to the appropriate place on our server. We have file://z:\ The z: is shown in computer as you would expect it to.

When we try to run z:\index.html we get the following javablock.PNGIn IE we have tried both "automatically detect intranet network" and also individually clicking the 3 boxes underneath it.

We have also tried launching the manual (putting appropriate java security exception) using unc path.

According to what I have googled if the site is in the intranet zone it should not be affected by above error?

Have also tried different user profiles but still no joy.

Have uninstalled and reinstalled Java several times using slightly different versions etc.

Does anyone know of away around this? It's like it's ignoring the security exception in java control panel.

Other info:

javablock2.PNG
Have also tried on another pc with identical versions of software and it seems to work ok.
javablock.PNG
0
Comment
Question by:sbitlc
  • 3
  • 2
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 41883772
This expert suggested creating a Gigs project.
That's a commercial product is it not?
0
 
LVL 25

Assisted Solution

by:Tomas Helgi Johannsson
Tomas Helgi Johannsson earned 500 total points
ID: 41885251
Hi!

The jar file of the application you are trying to run has a expired certificate.
What you need to do is create a valid certificate that your intranet trusts and sign the jar file with it.
This could be either a self-signed certificate, your private local certificate autority  or certificate that has been verified by a trusted certificate authority like Symantec or Comodo.

http://timjansen.github.io/jarfiller/javabasics/jar/selfsigning.xhtml
https://www.digicert.com/code-signing/java-code-signing-guide.htm
https://en.wikipedia.org/wiki/Certificate_authority

Regards,
    Tomas Helgi
0
 

Author Comment

by:sbitlc
ID: 41885948
Hi Tomas,

Thank you very much for responding.

I tried setting up the manual on another machine and it worked fine with no error.

Your response did give me an idea though. I'll need to check the other working PC (which I can't do right now) but there is no certificate at all listed on this problem pc under manage certificates. Perhaps, this is my issue. I'm guessing there should be something.

Will check it out as soon as I can.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Accepted Solution

by:
sbitlc earned 0 total points
ID: 41887641
Hi,

I exported the cert from the working pc and imported back in to the pc hat wasn't working. Unsure why it happened in the first place but it's working now.

Thanks
0
 
LVL 25

Expert Comment

by:Tomas Helgi Johannsson
ID: 41887647
Glad to help.  :-)
Remember to close the question and award points to those that helped.  

Regards,
    Tomas Helgi
0
 

Author Closing Comment

by:sbitlc
ID: 41894670
Tomas put me on the correct path but I didn't have to actually generate a cert
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question