This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hye greenhorns, am using java 1.6 on windows xp home.
I am running programs in main for which i want to use an API which is not a part of the jdk, i have tried placing the jar file of this API (which somebody gave me to use for the console io) in the lib folder of jdk, but on compiling gives error, it says path not found for that API.
Can somebody please help me figure it out , how should i import this class into the main program.
Hey thanks guys, i did go through the 'set the Classpath ', but i need more help, am bit of a novice on this,
now, a PATH has already been defined by me in user variable for home of the Environment variable settings which shows the directory where my JDK lies, i understand this is necessary for java to compile and run from another directory. Do i now need to add the location of of this package am using called ncst.pgdst.* , to a new user variable called CLASSPATH, cause i did that and again when i compile a program containing that package it gives an error saying 'package ncst.pgdst does not exist.'