Consider the following situation, I am working in a constrained java environment and in this I don't have the javax packages. But my project needs these packages strictly.
Also the environment allows me to add new libraries on my own project space.
So is there any way i can download javax packages and add it to my project? If possible please list out the steps to do it.
EDIT: To this question more relevant. Google App Engine has its own white list of java classes that are available for usage. Indeed it misses some classes that necessary for some projects. In these situations is it possible to add the specific classes as library to our projects? If so how can we get the class files?
ok here you go all java packages are within a
jar
namedrt.jar
which is in directoryjdk_install/jre/lib/rt.jar
which contains all the packages and yesjavax
too.. for your workingimport
thatjar
To
import
thatjar
create a folder with namelib
and place thatrt.jar
and all yourapi
within it and then place that folder with your jar archive, and you are ready to run.