File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Cant find sun.tools.java.Constants; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cant find sun.tools.java.Constants;" Watch "Cant find sun.tools.java.Constants;" New topic
Author

Cant find sun.tools.java.Constants;

Ger Sweeney
Greenhorn

Joined: Jan 29, 2003
Posts: 11
Hi,
I'm after downloading some source off the sun website and am having trouble compiling it. The compiler cannot resolve the variable Constants. I assume this is due to the fact that the interface sun.tools.java.Constants; cannot be found. Do I need to alter my classpath?
Any help much appreciated,
Thanks,
Ger
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
NOTE: This article was written before the release of Swing 1.1 Beta 3 and JDKTM 1.2 RC1, a set of APIs that introduced the package names now used in Swing.

To compile and run the example program under current versions of the JFCTM software, you must use an alternative version of the example that is contained in zipped form a downloadable jar file named javakit.zip.

Reference
[ February 01, 2003: Message edited by: Marilyn de Queiroz ]

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cant find sun.tools.java.Constants;
 
Similar Threads
Household items estimations
synchronous messaging
SCMAD Exam Notes
Jxam 2.0
Connection Refused Exception