aspose 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
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: 9047
    
  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
 
 
subject: Cant find sun.tools.java.Constants;