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 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.

更多精彩文章及讨论,请光临枫下论坛. 网址: rolia.net/zh
2000-10-8 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Troubleshooting: who can offer the answer?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈