×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / Help!I got a error message when i try to execute like this "java HelloWorldApp",my OS is win2k.pls come in..
    Error opening registry key 'Software\javasoft\java Runtime Environment'
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    • Go to "control panel | add and remove softwares" , uninstall all java softewares, then re-install JDK. Hope you will be OK.
      • dear jabber HELP me!:--( , I reinstalled the jdk1.3, nothing changed, the err message is the same.
        • Try this:
          1. find the java.exe file from start->search->for files and folders

          2. and add the path of it to PATH system variable
          (control panel -->system-->advanced-->Environment Variables
          -->system variables, select Path, and click Edit,
          and add the path to the end of the value inbox)

          Good Luck, also let us know if this works.
        • Pls follow Bloor's suggestion. ....
          Also go to www.javasoft.com and find
          the installation instructions for JDK at various platforms. I have only a Windows me at home. I will test things for you. Hope you are not delayed too much. Hope you can worked out the solution before me. Please do not feel annoyed by the problem. By solving and understanding this problem, you will learn something.
        • Hints Again
          It seems your java.dll file has been missing or corrupted. This file resides at C:\jdk130\jre\bin. Maybe you can fix the problem by copying this file to that place. You can copy this file from other people's machine.
          It is not fat, just 88K. This is a time for you to master the concept of JRE.
          Becuase your Dynamic Link Library is broken or missing, your Operating System cannot establish a Java Runtime Environment for you. So you got stuck.

          Good luck.
        • Please check your registry, if you are using a chinese version OS , Java Runtime Environment' will falsely translate to chinese characters ,
          so you need rename to original english words. I encountered the same problem in W2K professional chinese version.
          • Since you guys are immigrating or have already immigrated to Canada, I sugguest not using Chinese Windows version.
            • Thank you ,Dear jabber. Another question: Does those applications programmed by JDK work well in a Chinese environment(such as PWin2k...)?thank you ahead.
              • Java's internationalization
                If you just write a Java programm WITHOUT using any text, your programm can be migrated straightforwardly among different langauge environments. If your programm needs to handle text, say, displaying Time and Currency, you can use java.text. package. Then, your programm will display RMB symbol in Chinese environment and
                the dolar sign in English environment. Please check %JAVA_HOME%\jre\lib, under which there exists a file named i18n.jar. This strange name means the word "internationalization" has 18 characters. i18n.jar offers support for Java internationalization.

                I strongly encourage using English environment.