?
Solved

Java Application Blocked (Application Blocked by Java Security)

Posted on 2016-11-11
6
Medium Priority
?
59 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month12 days, 14 hours left to enroll

777 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