This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi All,
I know that this is not the right place for a Java question, but still
it would be of great help if anyone could provide me some solution or
redirect me to an appropriate java mailing list.
I have installed jdk1.3.1_02 on my linux box....... Then i wrote a
small program using swing components to display a frame with a label in it.
When I compile the program using javac i get the following error message
"Screen.java:10: error:Cannot find class "JPanel" [JLS 8] "
The reason for this error message is that the compiler cannot find the
class file for JPanel component. The JDK packages all the class files and
deliver it as a jar file, and in most of the cases these jar files are
located inside the lib directory.
Thus I added the "/usr/java/jdk1.3.1_02/jre/lib" path to my CLASSPATH
environment variable and compiled it, but still the error seems to exist.
Could anyone of u please throw some light on this issue.
Thanks in advance
Regards,
Sathish
Attachment:
InterScan_Disclaimer.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |