Xampp For Java

Open XAMPP Control Panel In the Apache service config button or select box, click httpd-xampp.conf A preview of http-xampp.conf file Go to the following line and change the Require local by Require all granted. The go back to the XAMPP control panel and restart the Apache service. Use javac command to generate the class file. It requires the servlet-api.jar file to create the class file. It’s in the lib of tomcat so if you use the xampp its path is like this “C: xampp tomcat lib servlet-api.jar” after that give your java file path. So syntax of class file generation is like this – “javac –cp C: xampp tomcat lib servlet-api.jar path of your java file”. About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new features Press Copyright Contact us Creators.

XAMPP is one of the widely used cross-platform web servers, which helps developers to create and test their programs on a local webserver. It was developed by the Apache Friends, and its native source code can be revised or modified by the audience. It consists of Apache HTTP Server, MariaDB, and interpreter for the different programming languages like PHP and Perl. It is available in 11 languages and supported by different platforms such as the IA-32 package of Windows & x64 package of macOS and Linux.

What is XAMPP?

XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M stands for MYSQL, and the Ps stand for PHP and Perl, respectively. It is an open-source package of web solutions that includes Apache distribution for many servers and command-line executables along with modules such as Apache server, MariaDB, PHP, and Perl.

XAMPP helps a local host or server to test its website and clients via computers and laptops before releasing it to the main server. It is a platform that furnishes a suitable environment to test and verify the working of projects based on Apache, Perl, MySQL database, and PHP through the system of the host itself. Among these technologies, Perl is a programming language used for web development, PHP is a backend scripting language, and MariaDB is the most vividly used database developed by MySQL. The detailed description of these components is given below.

Components of XAMPP

As defined earlier, XAMPP is used to symbolize the classification of solutions for different technologies. It provides a base for testing of projects based on different technologies through a personal server. XAMPP is an abbreviated form of each alphabet representing each of its major components. This collection of software contains a web server named Apache, a database management system named MariaDB and scripting/ programming languages such as PHP and Perl. X denotes Cross-platform, which means that it can work on different platforms such as Windows, Linux, and macOS.

Many other components are also part of this collection of software and are explained below.

  1. Cross-Platform: Different local systems have different configurations of operating systems installed in it. The component of cross-platform has been included to increase the utility and audience for this package of Apache distributions. It supports various platforms such as packages of Windows, Linus, and MAC OS.
  2. Apache: It is an HTTP a cross-platform web server. It is used worldwide for delivering web content. The server application has made free for installation and used for the community of developers under the aegis of Apache Software Foundation. The remote server of Apache delivers the requested files, images, and other documents to the user.
  3. MariaDB: Originally, MySQL DBMS was a part of XAMPP, but now it has been replaced by MariaDB. It is one of the most widely used relational DBMS, developed by MySQL. It offers online services of data storage, manipulation, retrieval, arrangement, and deletion.
  4. PHP: It is the backend scripting language primarily used for web development. PHP allows users to create dynamic websites and applications. It can be installed on every platform and supports a variety of database management systems. It was implemented using C language. PHP stands for Hypertext Processor. It is said to be derived from Personal Home Page tools, which explains its simplicity and functionality.
  5. Perl: It is a combination of two high-level dynamic languages, namely Perl 5 and Perl 6. Perl can be applied for finding solutions for problems based on system administration, web development, and networking. Perl allows its users to program dynamic web applications. It is very flexible and robust.
  6. phpMyAdmin: It is a tool used for dealing with MariaDB. Its version 4.0.4 is currently being used in XAMPP. Administration of DBMS is its main role.
  7. OpenSSL: It is the open-source implementation of the Secure Socket Layer Protocol and Transport Layer Protocol. Presently version 0.9.8 is a part of XAMPP.
  8. XAMPP Control Panel: It is a panel that helps to operate and regulate upon other components of the XAMPP. Version 3.2.1 is the most recent update. A detailed description of the control panel will be done in the next section of the tutorial.
  9. Webalizer: It is a Web Analytics software solution used for User logs and provide details about the usage.
  10. Mercury: It is a mail transport system, and its latest version is 4.62. It is a mail server, which helps to manage the mails across the web.
  11. Tomcat: Version 7.0.42 is currently being used in XAMPP. It is a servlet based on JAVA to provide JAVA functionalities.
  12. Filezilla: It is a File Transfer Protocol Server, which supports and eases the transfer operations performed on files. Its recently updated version is 0.9.41.

XAMPP Format Support

XAMPP is supported in three file formats:

  • .EXE- It is an extension used to denote executable files making it accessible to install because an executable file can run on a computer as any normal program.
  • .7z - 7zip file- This extension is used to denote compressed files that support multiple data compression and encryption algorithms. It is more favored by a formalist, although it requires working with more complex files.
  • .ZIP- This extension supports lossless compression of files. A Zipped file may contain multiple compressed files. The Deflate algorithm is mainly used for compression of files supported by this format. The .ZIP files are quite tricky to install as compared to .EXE

Thus .EXE is the most straightforward format to install, while the other two formats are quite complicated and complex to install.


Before going through XAMPP tutorial in-depth, you must have a fundamental knowledge of web development languages like HTML, and PHP.


Our XAMPP tutorial is designed for the aspirants who want to test their website or application on a localhost webserver. This tutorial will help those who want to build their career as a front end or web developer.


We assure you that it will resolve all your queries related to XAMPP, and you will not find any problem in this tutorial. Still, if there is any mistake or discrepancy, please post the problem in the contact form.

Next TopicInstallation process of XAMPP

Xampp For Java

hey there,
I am trying to set up tomcat on my computer (I am so new to this, I am not even sure I am explaining my problem correctly.)

I was told to install XAMPP. I did using the installer that appache's web site offers. It says that the installer installs tomcat too. I can see the tomcat folder inside my XAMPP folder, but when I check for status on localhost index page, I see 'tomcat deactivated'. and when I check for status under J2EE section I see the following:

Warning! Tomcat is not started on port 8080.

one of the links in this page is: when I click on it, the page that comes up says: Firefox can't establish a connection to the server at

What is wrong? Xampp friends. what am I missing. I kindly ask you to help me. thank you in advance!

Xampp Java Connection

  • 5 Contributors
  • forum5 Replies
  • 11 Months Discussion Span
  • commentLatest PostLatest Postby mahadeb

Xampp For Java 64-bit

alright, I have my issue solved. the problem was:
after runing startup.bat (because I assumed the cmd windows should close itself), I'd assume that something was wrong since the cmd would not close, and I'd close it. no wonder it did not work then :)