Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security problem on some PC's

 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have an applet which loads a series of data files and then displays them in 3D. The applet is signed and we have a .java.policy file for granting access to a couple of file resources. This works fine on most PC's, but on one I am getting an error like this in the Java console when the applet loads:

Obviously, I just get a blank screen because it hasn't loaded the data. The weird thing is this is with the exact same browser settings and policy file as all the other PC's. Anyone come across this sort of thing before or have any suggestions for further enquiry please?
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might just be that a user clicked "NO" when the browser asked if it wanted to accept the signed applet.
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It wasn't that because I was the user - we've been going around site testing our applet on different workstations.
However, we have figured the problem out. Turns out that PC had an old VM version 1.4.0. which was causing the problem. Removing this and upgrading to 1.4.2 solved the problem!
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maybe you should do a check in your code to make sure the VM version is what you need.
System.getProperty("java.version");
then popup a message if it's not greater than what you need.
Brian
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now that's a good idea, cheers!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic