In this tutorial, we will show you the complete steps to install Tomcat 10 on Debian 11. Tomcat helps to deploy the Java Servlet and the JavaServer Pages and serves them like an HTTP web server. Please share this post with your friends and join our Telegram channel.Apache Tomcat is an open-source Java HTTP web server developed by the Apache Software Foundation. So now that you know how to install your latest version on Debian 10, you can take full advantage of it. With it, you can automate the process of compiling and building packages through predefined rules. ConclusionĪpache Ant is a very important tool for Java application development. :~$ ant -versionĪpache Ant(TM) version 1.10.7 compiled on September 1 2019 The error is that the file does not exist, but ant is working.įinally, check the installed version. What happens is that ant requires a file called build.xml where the rules are specified. This indicates that ant is functioning properly. To do this, choose a random folder and within it execute: :~$ antĪnd you’ll have to get this output on screen: Buildfile: build.xml does not exist!ĭo not panic. Then, apply the changes with the following command: :~$ source /etc/profileĪnd finally, try the execution of Ant. Save the changes CTRL + O and then exit the file CTRL + X :~$ sudo nano /etc/profileĪnd at the end of the file, add the following: ANT_HOME="/usr/local/ant"Įxport PATH 4.- Editing the profile configuration file Now, a bash configuration file must be edited so that Ant can be run from any document. Now move the generated folder to /usr/local :~$ sudo mv apache-ant-1.10.7/ /usr/local/ant In case the unzip command is not available, install it. In my case I used another mirror that was more suited to my internet connection. :~$ wget -c 3.- Download Apache Ant on Debian 10 To do this, use the wget command to download the Ant file. Of course, we will choose the latest one. To avoid this, it is best to download and install Apache Ant ourselves and then even choose which version we want to install. The problem is that we won’t have the latest stable version and this makes us miss out on the news. 2.- Download and install Apache Ant on Debian 10Īpache ant is available from the official Debian repositories. This indicates that Java is correctly installed and ready for action. OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Debian-1deb10u1, mixed mode, sharing) OpenJDK Runtime Environment (build 11.0.6+10-post-Debian-1deb10u1) Once the installation is complete, you will be able to verify the installed version of Java. Libthai-data libthai0 libwayland-client0 libwayland-cursor0 libwayland-egl1 libxcursor1 libxkbcommon0 openjdk-11-jre openjdk-11-jre-headlessĠ upgraded, 57 newly installed, 0 to remove and 53 not upgraded.Īfter this operation, 293 MB of additional disk space will be used.ĭo you want to continue? 1.- Install Java on Debian 10 The following NEW packages will be installed: Libthai-data libthai0 libwayland-client0 libwayland-cursor0 libwayland-egl1 libxcursor1 libxkbcommon0 openjdk-11-jre-headlessĭefault-jre gvfs librsvg2-bin fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic Libjson-glib-1.0-common libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libproxy1v5 librest-0.7-0 librsvg2-2 librsvg2-common libsoup-gnome2.4-1 libsoup2.4-1 Libgdk-pixbuf2.0-common libgif7 libgraphite2-3 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz0b libjson-glib-1.0-0 Libatk1.0-data libatspi2.0-0 libcairo-gobject2 libcroco3 libdatrie1 libepoxy0 libfribidi0 libgail-common libgail18 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin Gsettings-desktop-schemas gtk-update-icon-cache hicolor-icon-theme java-common libatk-bridge2.0-0 libatk-wrapper-java libatk-wrapper-java-jni libatk1.0-0 The following additional packages will be installed:Īdwaita-icon-theme at-spi2-core ca-certificates-java fontconfig fonts-dejavu-extra glib-networking glib-networking-common glib-networking-services To do this, open a terminal and run the following command: :~$ sudo apt install openjdk-11-jre So, installing Java on Debian 10 is the first step in this tutorial. So it requires that the system on which it runs has Java installed correctly. Install Apache Ant on Debian 10 1.- Install Java on Debian 10Īpache Ant is created with Java technology. So let’s install it on our Debian 10 system.
0 Comments
Leave a Reply. |