This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the following in your jvm arguments: | |
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=3614 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false | |
(the first two are a must. I am not sure about the others…) | |
In JAVA_HOME/bin, you will find jmc.exe | |
Run it. | |
You can then configure your flight control. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# root | |
su - | |
# Create IntelliJ location | |
mkdir -p /opt/idea | |
# Untar installation | |
tar -xvzf /path/.../ideaIC-14.1.tar.gz -C /opt/idea | |
# Create link for latest IntelliJ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# root | |
su - | |
# Install JDK in system | |
rpm -Uvh /path/.../jdk-8u40-linux-i586.rpm | |
# Use correct Java | |
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 2000000 | |
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 2000000 | |
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 2000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this file under /etc/profile.d | |
export JAVA_HOME=/usr/java/latest | |
export PATH=$PATH:JAVA_HOME/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su - | |
# create eclipse location | |
mkdir /opt/eclipse | |
# Unzip it | |
tar -xvzf /path/.../eclipse-java-luna-SR2-linux-gtk.tar.gz -C /opt/eclipse | |
# create link | |
ln -s /opt/eclipse/eclipse/ /opt/eclipse/latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# name it eclipse | |
# put it in /usr/bin | |
# chmod 755 /usr/bin/eclipse | |
export ECLIPSE_HOME="/opt/eclipse/latest" | |
$ECLIPSE_HOME/eclipse $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create /usr/local/share/applications/eclipse.desktop | |
# Paste the following | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Eclipse | |
Comment=Eclipse Luna 4.4.2 | |
Exec=eclipse | |
Icon=/opt/eclipse/latest/icon.xpm | |
Terminal=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# root | |
su - | |
# installation location | |
mkdir /opt/maven | |
# unzip | |
tar -zxvf /path/.../apache-maven-3.3.1-bin.tar.gz -C /opt/maven | |
# link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put it in /etc/profile.d | |
export M2_HOME=/opt/maven/latest | |
export M2=$M2_HOME/bin | |
export PATH=$M2:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su - | |
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel | |
yum install gcc perl-ExtUtils-MakeMaker | |
yum remove git | |
# Download source | |
# check latest version in http://git-scm.com/downloads | |
cd /usr/src |