The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

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.

Message:

What's the dot for?

Posted by Hiran on January 27, 2002 at 10:47 AM

Why do you have a dot in there? (CLASSPATH=C:\jdk1.3.1_01\jre\lib\rt.jar;e:\code\java;.;z:\opensrc\testkit;z:\scslsrc\place;z:\scslsrc\serviceui)
Hiran

>
> > 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 java.io), 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:
> CLASSPATH=C:\jdk1.3.1_01\jre\lib\rt.jar;e:\code\java;.;z:\opensrc\testkit;z:\scslsrc\place;z:\scslsrc\serviceui





Replies:
  • dot dot dot Chin Loong January 27, 2002 at 11:02 AM (1)
    • Dots Matt Gerrans January 27, 2002 at 3:03 PM (0)

Sponsored Links



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