• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Security problem on some PC's  RSS feed

 
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?
 
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!
 
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!