The Artima Developer Community
Sponsored Link

Java Answers Forum
library

1 reply on 1 page. Most recent reply: Jan 16, 2004 3:37 AM by Adam Duffy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Peter

Posts: 1
Nickname: varanid
Registered: Jan, 2004

library Posted: Jan 14, 2004 6:17 PM
Reply to this message Reply
Advertisement
Hi, Ijust downloaded the Thinking in java ook a few days ago and have been reading it. The only problem is I can't build the code.

import com.bruceeckel.simpletest.

the compiler says It can't find the library so I looked in the code zip file included with the book and found the needed library. the only problem is I don't know where to put it. I want to be able to see the output.

can anybody tell me how to install the library?


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: library Posted: Jan 16, 2004 3:37 AM
Reply to this message Reply
Put the library wherever you want (usually in JAR form). Then use the following to compile

javac -classpath my\directory\for\library;. myfile.java

Similarly use the following to run

java -classpath my\directory\for\library;. myfile

Adam

Flat View: This topic has 1 reply on 1 page
Topic: Intermittent problem launching default browser Previous Topic   Next Topic Topic: catch illegal numerical input??

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use