Results 1 to 2 of 2
  1. #1
    zachvac is offline Member
    Join Date
    Apr 2014
    Posts
    1
    Rep Power
    0

    Default Java Applet Security Error

    Hi I've written a relatively simple java applet, it's a simple game that includes displaying images. It works in eclipse, it works when running with the appletviewer, and it works when creating an html file with basic applet tags for the .class file which is compiled from the .java source file (it's just one file). But when I try to put this on the internet for people to use, it gives a security error. I've googled a ton and gotten that I need to do security stuff with jars, but I haven't even found somewhere with basic step by step instructions on how to create a jar. When I try to export my project as a jar on eclipse it says "Jar export finished with warnings. See details for additional information" and the additional information is simply: "Exported with compile warnings: [path/file.java]"

    When I look for help on google it either shows me super basic stuff on how to code applets (I'm relatively proficient in the actual coding part) or else more advanced "oh so you've already created a jar and are familiar with internet security stuff" topics. I'm simply looking for help to go from a .java file which I know contains an applet that does what I want it to do, and turn it into something I can embed in a web page that other people can run without java telling them it's not trusted. Even if it just gives a warning that's fine but the only way I could get it to work in mine was to turn down the overall security settings on my computer and I don't want other people to have to do that in order to run my applet.

    Thanks.

  2. #2
    Nozz is online now Member
    Join Date
    Apr 2014
    Posts
    49
    Rep Power
    0

    Default Re: Java Applet Security Error

    Introducing: SvgExe And Executables! - Static Void Games - Blog
    It may help you if you know how to use it.

    You can also check this one:
    https://www.d.umn.edu/~gshute/java/swing/apps.html
    If you don't want to run app from command prompt you can use simple bath file that will run this command, so it will work just like normal app.

Similar Threads

  1. java applet security warning ?!
    By e92 in forum Java Applets
    Replies: 2
    Last Post: 09-25-2011, 10:46 AM
  2. java.security.AccessControlException in Applet
    By gopimano in forum New To Java
    Replies: 0
    Last Post: 12-07-2010, 10:57 AM
  3. Replies: 1
    Last Post: 03-19-2009, 07:38 AM
  4. java Applet security
    By MarkWilson in forum Java Applets
    Replies: 0
    Last Post: 09-05-2008, 09:02 AM
  5. Replies: 0
    Last Post: 03-31-2008, 04:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •