[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 70
  • Last Modified:

Java Application Blocked (Application Blocked by Java Security)

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
sbitlc
Asked:
sbitlc
  • 3
  • 2
2 Solutions
 
CEHJCommented:
This expert suggested creating a Gigs project.
That's a commercial product is it not?
0
 
Tomas Helgi JohannssonCommented:
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
 
sbitlcAuthor Commented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
sbitlcAuthor Commented:
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
 
Tomas Helgi JohannssonCommented:
Glad to help.  :-)
Remember to close the question and award points to those that helped.  

Regards,
    Tomas Helgi
0
 
sbitlcAuthor Commented:
Tomas put me on the correct path but I didn't have to actually generate a cert
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now