A package is used to group related classes. Each class in the group is identified by the "package" keyword, followed by some keyword for the group.
There are almost 200 packages in the standard J2SE distribution. Please see the related link below detailing the Java API (for Java 7) for a full listing.
No.
jvac -d classname.java
1.user defined packages 2.predefined packages
basically packages are a collection or a directory of similar classes. there are some inbuilt packages in java which prove to be really useful like the java.lang package which automatically is imported into your program. in addition you can also create your own packages and its really simple to create them! :)
by adding more documents
You need to set The CLASSPATH variable which is an argument set on the command-line that tells the Java Virtual Machine where to look for user-defined classes and packages in Java programs. Syntax is java -classpath "path to the packages". Set the PATH variable if you want to be able to conveniently run the Java 2 SDK executables (javac.exe, java.exe, javadoc.exe, etc.) from any directory without having to type the full path of the command. To set the PATH permanently, add the full path of the j2sdk1.4.2_version\bin directory to the PATH variable. -sravyaa
Java Classpath is a parameter that tells the Java Virtual Machine or the Java Compiler, where to search for user-defined classes and packages on a computer.
Java Integrated Development Environment (IDE) provides an environment to Edit, compile and debug and generate java codeThere are several java IDE like Eclipse, WSAD, BlueJ, JCreator etc
Yes you can but for that you must have have a Java Runtime Environment installed in your computer. Also if you are talking about programming in java then you need to install a Java SDK which can help you in executing your java code and run it. (It also contains Java Runtime Environment).
The general Java Runtime Environment allows a computer to run Java applets and compiled Java files.
The java runtime environment can be downloaded from several websites. Among them are Oracle, Java, CNET, Softsonic, Eclipse, AfterDawn, Soft32, and OldApps.