Skip to content

Instantly share code, notes, and snippets.

View ubaid4j's full-sized avatar
:octocat:
Java

Ubaid ubaid4j

:octocat:
Java
View GitHub Profile
@ubaid4j
ubaid4j / install_mvn-jdk17.sh
Last active October 17, 2021 15:43
Install and configure Maven 3.8.3 with Java 17 (Linux)
#creating custom directory for jdk-17 and maven 3.8.3
sudo mkdir /opt/custom-ubaid
#Deleting Symbolic Links and custom profile for maven
sudo rm -rf /opt/custom-ubaid/java
sudo rm -rf /opt/custom-ubaid/maven
sudo rm -rf /usr/bin/mvn
sudo rm -rf /usr/bin/java
sudo rm -rf /etc/profile.d/custom-ubaid-maven.sh
# Downloading jdk-17 and extracting
@ubaid4j
ubaid4j / JProfiler-with-Docker.md
Created April 7, 2020 23:13 — forked from kevin-lee/JProfiler-with-Docker.md
JVM Profiler with Docker

JProfiler with Docker

Docker

DockerFile

DockerFile should have JProfiler installation.

RUN wget <JProfiler file location> -P /tmp/ && \
  tar -xzf /tmp/<JProfiler file> -C /usr/local && \
  rm /tmp/<JProfiler file>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.1.xsd">