Adding a library to Java CLASSPATH

view story

http://askubuntu.com – I am not sure if my question is more related about Ubuntu or Java, so pardon me! I am trying to compile a java program but I get the following error: package javax.comm does not exist I have downloaded the required package comm.jar but I do not know how/where should I install/copy this file. I read somewhere that this should be in CLASSPATH folder but I dont have this folder. This is what I get for java -version I guess this means I have already installed Java in my system: java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1) OpenJDK Serv (HowTos)