Solved

Java Application Blocked (Application Blocked by Java Security)

Posted on 2016-11-11
6
32 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 67
Modeling a class in java 5 47
JDeveloper 12c for 32 bit 4 71
oracle 11g 23 49
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now