This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 9044
    
  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;