Troubleshooting: who can offer the answer?

jabber (jabber)
本文发表在 rolia.net/zh 相约加拿大网上社区枫下论坛
This is a question from Jabber's former student in Maryland. I think it is a good topic to discuss about. See the enclosure.
**********************************************
Dear Dr. Lu,

Can you please tell me what is wrong with my environment setting?
I tested a java stand-alone application copied from 揟hinking in Java? I
compiled the program 揚roperty?successfully under Windows 98, but failed to
run it. When I used the command
c:\javaprograms>java Property
to run the program, it gave the following error message:
Exception in thread 搈ain?java.lang.NoClassDefFoundError: Property

The following is the environment I set in autoexec.bat
SET PATH=%PATH%; C:\JDK1.2.1\BIN;C:\JDK1.2.1\LIB;
SET CLASSPATH=C:\J2SDKEE1.2\LIB\J2EE.JAR;C:\JavaPrograms\packages;

However, what surprised me is that I could run the same program under Windows
95. The environment I set is :
Set path=C:\jdk1.2.2\bin;C:\jdk1.2.2\lib;?path%?>
I don抰 know why and can抰 figure out what is wrong. Should I have a java
environment setting in Windows 98 different from Windows 95?

Thank you very much.

Sean
更多精彩文章及讨论,请光临枫下论坛. 网址: rolia.net/zh
(#10231@0)
2000-10-8 -05:00

回到话题: Troubleshooting: who can offer the answer?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈

URL:   
http://www.rolia.net/zh/post.php?f=0&p=10231