×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / jabber, I need your help
    Hi, jabber. I'm a web developer without java skills,and I want to get familiar with it before my landing next spring.

    After installing SDK and JavaVM in a NT , I've tried many times to run the "HelloWorldApp" applet but they are all failed ! I really got puzzled!

    When I installed ClassD or ClassR of the Java classes , got a prompt message "The Microsoft VM is missing or is the wrong version. Please install the correct build of VM before installing this product".

    I really don't know how to begin it with a NT,can you tell me or recommand some articles for me? maybe I installed the software with wrong version.

    Please don't laugh at me though I got so many stupid mistakes and your kindly help will be appreciated!

    wheel
    28/11/2000
    • Let me assume you use MIIS
      本文发表在 rolia.net 枫下论坛Let me assume you use MIIS. You have a wwwroot. Under this wwwrooo, you have
      test.htm file and HelloWorldApp.class.
      I assume your Applet class has no package structure. In test.htm, there is a <APPLET>
      ...</APLLET> tag. Ok, now open your browser and hit http://localhost/test.html.
      This is the way to run Applet. I hope you have followed this path.

      Now let me assume you don't have MIIS or Microsoft Personal Server. But you have installed JDK on your Windows NT.
      If you have set up PATH and CLASSPATH correctly, you can test your Apllet by issuing the following command:

      appletviewer test.html

      Of course, your test.html and applet class should be live in the same place, just like siblings.


      Since you are still in China, I suggest you visit www.bruceeckel.com and browse "Thinking in Java", you will see how to the detailed description. More dedails there.

      If your problem persists, I think the simplest way to cure it is to download Java Plug-In and use it to replace Microsoft JVM.

      Just a small suggestion. Whenever you want to discuss with the people, you had better describe your problem in detail, tell them what you have done and what weird thigs have happened.更多精彩文章及讨论,请光临枫下论坛 rolia.net