Results 1 to 9 of 9
  1. #1
    ThatBlackGuy is offline Member
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Problems with playing games and such in a browser

    I get the following error code when i go on something that uses Java in browser:
    Java Plug-in 1.6.0_31
    Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM
    User home directory = C:\Users\ianh594176

    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------

    load: class org.lwjgl.util.applet.AppletLoader not found.
    java.lang.ClassNotFoundException: org.lwjgl.util.applet.AppletLoader
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: org.lwjgl.util.applet.AppletLoader

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,790
    Rep Power
    25

    Default Re: Problems with playing games and such in a browser

    class org.lwjgl.util.applet.AppletLoader not found.
    The java program can not find the class named in the error message. You need to put the class definition on the classpath for the java program.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    ThatBlackGuy is offline Member
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Re: Problems with playing games and such in a browser

    Quote Originally Posted by Norm View Post
    The java program can not find the class named in the error message. You need to put the class definition on the classpath for the java program.
    So how am I going to put the class definition on the classpath?

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,013
    Rep Power
    10

    Default Re: Problems with playing games and such in a browser

    Quote Originally Posted by ThatBlackGuy View Post
    So how am I going to put the class definition on the classpath?
    That depends on how you're loading the applet. Using jnlp, you can just add a jar listing to the jnlp launch file.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    ThatBlackGuy is offline Member
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Re: Problems with playing games and such in a browser

    Quote Originally Posted by KevinWorkman View Post
    That depends on how you're loading the applet. Using jnlp, you can just add a jar listing to the jnlp launch file.
    What is jnlp? And what jar. I do not know anything about this.

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Problems with playing games and such in a browser

    Is this a program that you yourself have written? That's what this forum is for, to help others learn to program.

  7. #7
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,013
    Rep Power
    10

    Default Re: Problems with playing games and such in a browser

    Quote Originally Posted by ThatBlackGuy View Post
    What is jnlp? And what jar. I do not know anything about this.
    Is this your game, or somebody else's game? If it's your game, you should know how you're launching the applet (or at least defining the classpath). If it's not your game, I suggest your contact whoever's game it is with this error.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  8. #8
    VanGo is offline Member
    Join Date
    Apr 2009
    Posts
    12
    Rep Power
    0

    Default Re: Problems with playing games and such in a browser

    Folks ?
    I have written lots of applets, I'm not a real programmer though.
    I don't know what jnlp launch file is or really what your talking about.

    I think it's a fair question and your jumping on the OP.
    Of course I'm a newbie and your actions may be justified ?? Just sayin...

  9. #9
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,453
    Rep Power
    20

    Default Re: Problems with playing games and such in a browser

    If you have a question about JNLP, get your own thread -- they're free. But first search the net and the Oracle tutorials.

    If the question is about the OP's own code, it's a fair question and he should be able to provide the details sought.

    If it's about a problem with some Applet on some site, it's off topic here.

    Who jumped on the OP? What actions need to be justified?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 11-17-2011, 05:52 AM
  2. opening an html file in default browser problems
    By dhazwa in forum New To Java
    Replies: 2
    Last Post: 08-22-2011, 06:42 AM
  3. Help! Anagram Games
    By geeky123 in forum New To Java
    Replies: 6
    Last Post: 10-13-2008, 05:16 PM
  4. problem for games
    By Gunther in forum Java 2D
    Replies: 4
    Last Post: 12-25-2007, 09:42 AM
  5. Browser-based games. Where do I start?
    By Brute in forum Eclipse
    Replies: 1
    Last Post: 08-09-2007, 08: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
  •