The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Matt Gerrans on January 27, 2002 at 3:59 AM

> Matt, or anyone else who knows, how do you specify the location of the classes and packages that came with java's sdk for the application jikes? With javac I don't have to specify where to find packages that came with the sdk (such as, but with jikes I assume I need to because jikes comes back telling me it can't find java/io. Any help here is greatly appreciated. Thanks.
> Hiran

Jikes just needs to know where the runtime library is, so you probably just need to add rt.jar to your classpath (javac can find it relative to its install directory, but Jikes doesn't have this advantage). In my case, rt.jar is located in the C:\jdk1.3.1_01\jre\lib directory, so this is what my classpath environment variable looks like:


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us