Mint: Mint Cinnamon 19 LTS Desktop VM Setup

http://mirrors.evowise.com/linuxmint/testing/linuxmint-19-cinnamon-64bit-beta.iso

Mint 19 LTS Desktop

VirtualBox Setup

 

Mint 19 LTS Desktop

  • ISO:
  • OS: Linux_x64
  • Memory: 2G
  • Video: 128M
  • HDD: 20G
  • CD: linuxmint-19-cinnamon-64bit-beta.iso
  • USB:3.0

Install Mint

http://mirrors.evowise.com/linuxmint/testing/linuxmint-19-cinnamon-64bit-beta.iso

VBox Guest Additions


 

Install OpenSSH server

https://help.ubuntu.com/lts/serverguide/openssh-server.html

sudo apt-get install openssh-server
sudo apt-get install openssh-client

systemctl is-enabled ssh
systemctl is-active ssh
systemctl status sshd

check ip address on guest

ip a

JDK8 Installation

Check/Create JVM path

/usr/lib/jvm

Pull JDK8

wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz"

Unpack

tar -xvzf jdk-8u171-linux-x64.tar.gz -C /usr/lib/jvm

Set Alternatives

update-alternatives --install <link> <name> <path> <priority>
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_171/bin/java 1
update-alternatives --list java
/usr/lib/jvm/jdk1.8.0_171/bin/java

 

update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.8.0_171/bin/jar 1
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_171/bin/javac 1

update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/jdk1.8.0_171/bin/java
Nothing to configure.

Setup Environment Variables

export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_171
printenv JAVA_HOME
export PATH=$PATH:/usr/lib/jvm/jdk1.8.0_171/jre/bin
printenv PATH

Eclipse Oxygen

https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/3a/eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz&mirror_id=492

eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz

 

tar -xvzf eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz -C /usr/local/
ln -s /usr/local/eclipse/eclipse /usr/bin/eclipse
sudo chmod 777 /usr/bin/eclipse

JavaHL JNI

https://stackoverflow.com/questions/11769989/failed-to-load-javahl-library#14236348

sudo apt install libsvn-java

 

sudo find / -name libsvnjavahl-1.so
/usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so

 

sudo find / -name eclipse.ini
/usr/local/eclipse/eclipse.ini

 

sudo nano /usr/local/eclipse/eclipse.ini
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/

Eclipse Marketplace: Subclipse 4.2.4

https://www.eclipse.org/subversive/installation-instructions.php

Remote Desktop

Install xrpd

sudo apt-get install xrdp -y

Set to startup automatically

/etc/init.d/xrdp start

Check xrdp status ( 3389 )

sudo netstat -ntlp

Change Color Depth to 24

/etc/xrpd/xrdp.ini
#max_bpp=32
max_bpp=24
#new_cursors=true
new_cursors=false

Configure so only ONE session exists at a time

/etc/xrdp/sesman.ini
[Xorg]
param=-once
[Xvnc]
param=-once

Start xrdp(if not already running or set to auto start)

/etc/xrdp/xrdp.sh start

Eclipse Natural Plugin for Cucumber-JVM

https://marketplace.eclipse.org/content/natural

Eclipse DevStyle

https://www.genuitec.com/updates/devstyle/ci/

Install from Eclipse Marketplace

Eclipse TestNG

Install from Eclipse Marketplace

 

Tags