public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* CLASSPATH Problem
@ 2003-09-22  5:19 Sathish_Dilip
  0 siblings, 0 replies; only message in thread
From: Sathish_Dilip @ 2003-09-22  5:19 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]


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 #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 82 bytes --]

This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-22  5:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22  5:19 CLASSPATH Problem Sathish_Dilip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).