File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes compilation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "compilation problem" Watch "compilation problem" New topic

compilation problem

John Bushell

Joined: Jun 12, 2002
Posts: 16
I am running the JRE version 1.3.1 and have the JSDK version 1.4.0 installed (excluding JRE).
when I conduct a java -version, I get the JRE version ... OK no problem yet!
but when I try to compile a simple applet that imports swing and extends JApplet, I get a compilation error stating that the swing class can't be found?
The class path references the correct file (win NT unfortunately)
any troubleshooting tips would be gratefully received!

thanks a bunch for your help<br />John
John Bushell

Joined: Jun 12, 2002
Posts: 16
Not to worry, I've found the problem .....
a funny with NT!!
meera sood
Ranch Hand

Joined: Dec 18, 2001
Posts: 50
do let us also know the solution
I agree. Here's the link:
subject: compilation problem
jQuery in Action, 3rd edition