How to execute shell command from Java
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
How to change the hostname in Ubuntu
How to change hostname in Ubuntu. There are three options: temporary until the first restart and permanent by changing the hostname file or using command hostnamectl
How to change Tomcat default port
How to change Tomcat default port 8080 to any other port. Three steps: locate server.xml file, edit and restart the Tomcat service.
Maven local repository location
Maven local repository default location for Linux and Windows and how to change the location.
Tomcat default administrator password
How to activate the default tomcat manager application administrator password. This setting is for Tomcat 7 and newer.
How to marshal a JAXB object into org.w3c.dom.Document
How to marshal a JAXB object into org.w3c.dom.Document
using Transformer class and formatted console print.
Search
Other Posts
Follow Us On