Java Bootcamp
2. Preparation of Java project

1. exercise: Preparation of Java development workstation

Main steps

About the course



Install operating system

  1. Put installation USB drive in computer and restart it.
    1. Use F12 to activate booting device menu
    2. Select LEGACY BOOT — USB Storage Device


    3. If there is operating system installed already, choose option: Erase disk and install Lubuntu

      a) Screenshot of choice if there is NOT operating system on disk:

      b) Screenshot of choice if there IS operating system on disk:

  2. Install Lubuntu Linux workstation with following settings:
    1. Location: Riga
    2. User: student
    3. Password: Student007
    4. Computer name — first syllables of name and surname separated with dash, e.g., val-vit
    5. Language English or Latvian
  3. Complete setup wizard and log into your computer

Configure operating system

  1. Connect your computer with Ethernet wire to the router or switch
  2. If necessary, familiarize yourself with Terminal and ways to copy-paste and execute commands
  3. Set IP address of the bcserver:
    1. open terminal
    2. enter: sudo leafpad /etc/hosts and add lines in file, that the look is like following:       localhost       val-vit    bcserver

      where val-vit is your computer and bcserver is name of the Java Bootcamp Server.

      help check that ping bcserver command returns response times
      help check that /etc/hostname has the same name e.g. val-vit as /etc/hosts, e.g. val-vit

  4. (Don't set this, if you use other WiFi network!) Set bcserver as a proxy server for apt package manager:
    1. press ctrl+alt+t to open terminal
    2. enter command:

      sudo leafpad /etc/apt/apt.conf
    3. In opened file add line:

      Acquire::http::Proxy "http://bcserver:3128";
  5. Enable additional software repositories:
    1. open terminal and enter command:

      sudo leafpad /etc/apt/sources.list
    2. remove hash and space (# ) for remote repository entries (lines which start with # deb) and save file.
  6. Update repo metadata, upgrade system, clean up packages and clean cached files with command in terminal:

    sudo apt-get update; sudo apt-get dist-upgrade; sudo apt-get autoremove

    press Enter to confirm operations

  7. Restart computer.

Install closed source drivers for WiFi card

  1. Select start menu Start — Preferences — Additional drivers.
  2. Select tab Additional drivers and wait until selection is proposed.
  3. Select
    Using Broadcom 802.11 Linux STA wireless driver source from mcmwl-kernel-source (proprietary)
    Using Processor microcode firmware for Intel CPUs from intel-microcode (open source):


  4. Press Apply changes wait and then Restart....
  5. Disconnect Ethernet wire and check that WiFi hardware is enabled (hardware switch to left, red mark not visible) and is working.
  6. Connect to WiFi: JSE_BC with password: JSE_BC_2019.
  7. If WiFi networks are not provided in network list, go to Solving WiFi Problems.
  8. Give Ethernet wire to your classmate. 

Adjust other settings

  1. Adjust keyboard settings 1. To disable Ibus:
    1. select menu Start — Preferences — Input method and press button to disable Ibus.

    2. uninstall ibus package at all, by entering command

      sudo apt-get purge ibus
  2. Install LibreOffice software by entering command:

    sudo apt-get install libreoffice
  3. Associate office documents with LibreOffice:
    1. select Start — Preferences — Default applications for LXSession and open Launching applications,
    2. select for Document: LibreOffice Writer and for Spreadsheet LibreOffice Calc,
  4. Add other workstation additions, if necessary

Install development tools

  1. Install Eclipse IDE and Maven building tool with command:

    sudo apt-get install eclipse maven
    help Check that java -version command returns info about java
    help Check that mvn -version command returns info about maven

  2. For more info look at:
    1. Eclipse uz Linux
    2. Noderīgas Ubuntu Linux komandas

Java Bootcamp
2. Preparation of Java project
  1. ^ Ibus keyboard supports entering hieroglyphs (e.g. for Chinese, Japanese etc.) using standard keyboard. It interferes with hot-keys for applications (e.g. Eclipse).
Izveidojis Valdis Vītoliņš 2017-01-03 10:07
Pēdējais mainījis Valdis Vītoliņš 2019-01-28 08:46
Xwiki Powered
Creative Commons Attribution 3.0 Unported License