Solved

Java Application Blocked (Application Blocked by Java Security)

Posted on 2016-11-11
6
22 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 24

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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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 24

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 2 42
Unable to open debugger port in Intellij idea 6 84
wordmultiple challenge 12 90
Java JRE greater than 1.6 5 19
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.

706 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

18 Experts available now in Live!

Get 1:1 Help Now