Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Applet and HashMap

Applet and HashMap

Scheduled Pinned Locked Moved Java
javaquestion
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    moliate
    wrote on last edited by
    #1

    I while ago I created an Java application that seemed to work fine at commandline. However, when I turned it into an applet I get a ClassNotFoundException for java.util.HashMap. Does anyone know what that is about? Anyway, if you want to look at the code (it is eventually supposed to be a framework for building zork-like games) you can find it here. Commandline: zork.class, applet as in the webpage submitted. Thanks /moliate

    M 1 Reply Last reply
    0
    • M moliate

      I while ago I created an Java application that seemed to work fine at commandline. However, when I turned it into an applet I get a ClassNotFoundException for java.util.HashMap. Does anyone know what that is about? Anyway, if you want to look at the code (it is eventually supposed to be a framework for building zork-like games) you can find it here. Commandline: zork.class, applet as in the webpage submitted. Thanks /moliate

      M Offline
      M Offline
      markkuk
      wrote on last edited by
      #2

      I guess it's a Java 2 class, and the builtin JVM in MSIE understands only Java 1. Have you installed Sun's Java plugin or tried appletviewer.exe.

      M 1 Reply Last reply
      0
      • M markkuk

        I guess it's a Java 2 class, and the builtin JVM in MSIE understands only Java 1. Have you installed Sun's Java plugin or tried appletviewer.exe.

        M Offline
        M Offline
        moliate
        wrote on last edited by
        #3

        You are right, HashMap is Java2. I was so sure it was Java1...:-O Thanks for the help /moliate

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups