Ubuntu adventure - volume 2

Having fun with my xfce adventure on my chromebook, I decided to start using Ubuntu at work. It's easier than said, as my work team only supports the use of Windows or Mac and getting them to agree to allow me to use Ubuntu is almost as hard as making 1000 Tesla cars in a day.

Decided to go with VMWare for this as i am allowed to use that at work - not my go to option, but will have to do for now.

Had to stick with an older version of Ubuntu (14) as the new version (16) did not work with my version of vmware workstation. Tried to install 16 multiple times and all resulted in failures, so decided to give up after 5 attempts as it seemed to be a complete waste of time as i had the 14 version running

Setting up Eclipse (Bread and Butter of any dev)


  • Downloaded Java 6, 7 & 8 version and set it up
    • Extracted the tar archives
      • sudo tar -xzvf <filename>
    • moved the files into bin location under a new folder jvm
      • sudo mkdir -p /usr/bin/jvm
      • sudo mv <folder> /usr/bin/jvm
    • setup the 3 versions (not sure if this is the right way)
      • sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_45/bin/java" 1
      • sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_45/bin/javac" 1
      • sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.6.0_45/bin/javaws" 1
    • adjusted the permissions
      • sudo chmod a+x /usr/bin/java
      • sudo chmod a+x /usr/bin/javac
      • sudo chmod a+x /usr/bin/javaws
    • adjusting the ownership
      • sudo chown -R root:root /usr/lib/jvm/<folder>
    • set defaults
      • sudo update-alternatives --config java
      • sudo update-alternatives --config javac
      • sudo update-alternatives --config javaws

  • Extract Eclipse
    • Set the jvms from the /usr/lib/jvm folder and done.

Comments

Popular posts from this blog

Chromebook xfce printer adventure

Ubuntu 18.04 Postman error

Chromebook xfce volume controls