Topic: 小菜鸟关于安装jdk1.3的问题??

  Print this page

1.小菜鸟关于安装jdk1.3的问题?? Copy to clipboard
Posted by: jintao30
Posted on: 2005-01-20 22:44

小弟用默认路径安装jdk1.3(C:\jdk1.3),原文件在d:\myjava下;
在win2000环境下设置了环境变量路径path(C:\jdk1.3\bin;C:\jdk1.3\lib);
用的是经典的 Hello原文件( Ultraedit32编写 )
public class Hello
{
public static void main(String args[])
{
System.out.println("Hello!");
}
}
能在DOS下把Hello.class 文件生成,运行时出现问题是:
D:\myjava>Hello.java

D:\myjava>java hello
Error opening registry key 'Software\JavaSoft\Jav
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

请问各位大哥问题出在那了 ???小弟不胜感激!!!

2.Re:小菜鸟关于安装jdk1.3的问题?? [Re: jintao30] Copy to clipboard
Posted by: tipma1
Posted on: 2005-01-27 09:11

应该是Big Smile:\myjava\javac Hello.java
然后D:\myjava\java Hello


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923