Linux for Java Developer

Vikram Shanbogar
2 min readJun 9, 2020

https://linuxmint.com/pictures/screenshots/tricia/cinnamon.png

Working on Windows for the past 10 Years, I felt the urge to explore whats in store in Linux, Because i always imagined Linux to be a OS with just a terminal in it, and was scared to never try it out.

So this lock down(covid-19) time gave me an ample time and opportunity to explore it. So i did some research and found linux mint and ubantu to be the best ones for beginners. Due to some drivers issue in my PC hence have to stick to Linux mint.

My experience with Linux is just wow.The simplicity, forget about the open-source, free etc.I focus on just the User experience and productivity and i am really happy and ask everyone to try it once.

Below are some helpful steps I did to start my development activities.

Install linux mint

Download — Linux Mint

Linux mint has no inbuilt mouse scroll speed control:

Mouse Scroll:-

sudo apt-get install imwheel && wget http://www.nicknorton.net/mousewheel.sh && chmod +x mousewheel.sh && ./mousewheel.sh

set it in startup menu

Use the usermod command to add the user to the sudo/root group:-

adduser <username>

usermod -aG sudo <username>

userdel <username>

To Enable Snap in Linux Mint 20,

Open terminal as root.

Type the followingcommand: # rm /etc/apt/preferences.d/nosnap.pref. This will enable Snap.

Now, update the packagecache for apt with this command: # apt update

Finally, install the snapdpackage: # apt install snapd

Install openssh:-

sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh
in local ubuntu to allow firewall filter:-
sudo ufw allow ssh

installing apps from appstore:

  1. Chromium
  2. Terminator

Java installation

Remove all jre from linux which are preinstalled https://novicestuffs.wordpress.com/2017/04/25/how-to-uninstall-java-from-linux/

Install Java 8(you can install the latest one, I work on java 8)

sudo apt-get install openjdk-8-jdk

Maven Installation

sudo apt install maven

Git:-

sudo apt install git

Tool:- GitKarken

STS download — Java IDE

Notion note taking app with offline support

https://github.com/davidbailey00/notion-deb-builder/releases/tag/v2.0.6-windows

MYSQL Installation:-

https://medium.com/@shivraj.jadhav82/mysql-setup-on-linux-mint-948470115d5

--

--

Vikram Shanbogar

I am a full Stack Developer, Mentor, Technical Writer at Medium