It is path to directory or list of directory where java classes and packages are located. When you run the java program, JVM will find and load classes. The class path will give direction to the JVM or class loader where to find those java classes. It can be set by environment variable or command … Continue reading What is Java classpath
A platform is a combination of hardware and software used to run software applications. A platform can be described simply as an operating system or computer architecture, or it could be the combination of both. Example: Microsoft windows, LINUX, UNIX and so on. The every operating system has unique specification to run the application. The … Continue reading What is Platform independent
It is the file (.class) that contains information about Java type, class, interface and so on. In other words, it is nothing but the bytecode. It is produced by java compiler when compiling the java source file (.java). Each class in source file is compiled into separate class files. It contains everything about the class … Continue reading What is Java Class file
It is part of run-time environment for java platform. It is nothing but the program that used to execute the other program called bytecode or compiled java program or common language. The bytecode is the set of instruction that can run on many operating systems. The Java source file compiles into bytecode using java complier … Continue reading What is Java virtual machine(JVM)
Java bytecode is compiled format of java source file. In other words it is a set of instruction used to execute on any environment. Java bytecode is used to achieve Java platform independence. So Java code will run in any platform like Linux,Windows, Mac & Mobile devices Java bytecode is very secure and portable, so … Continue reading What is Java bytecode
When you run java source program, it compiles into bytecode. Then Java interpreter converts that bytecode into native language using JVM. The compiled program bytecode can be executed on any operating system. The bytecode concepts pay the way for java to achieve platform independent.
What is Jsoup ? Jsoup is a open source Java library used to deal with real-world HTML. It can parse HTML from a URL, file, or string. It gives a very useful API for finding, extracting and manipulating data, using DOM traversal or CSS selectors. It also supports jquery-like methods. How to use Jsoup ? … Continue reading Jsoup – An Introduction with example
In java,We can create zip file but cannt set password using java.util.zip library We should use external library to create password protecting zip files. The list of available external libraries are http://www.lingala.net/zip4j/ http://www.chilkatsoft.com/java.asp http://code.google.com/p/winzipaes/ merkert.de/de/info/zipaes/src.zip