Skip to main content

Posts

Showing posts from July, 2019

Install tar.gz file and creating desktop launcher in ubuntu 18.04 systems

Now I am going to described you how to extract and install tar.gz file in Linux systems and creating a desktop shortcut. So, I will install the Eclipse IDE for example. Now, Going to Eclipse site and download the latest install file. Open terminal (ctrl + alt + T) and extract tar.gz file like this command... tar zxvf download_location/file_name Example: tar zxvf ~/Downloads/eclipse-inst-linux64.tar.gz   When completely extract the full file. Then keep this your own chosen location. Example: /home/srinath/code/ide/eclipse Fine, install successfully. Now create a launcher icon for fast launching. Open terminal and type... sudo gedit /usr/share/applications/eclipse.desktop When you enter this command then automatically open a text file. In this text file, you write this code... [Desktop Entry] Name=Eclipse Type=Application Exec=[destication address]/eclipse Terminal=false Icon= [destication address] /icon.xpm Comment=Integrated Development Environme

Make windows in default boot in ubuntu and windows

When we have dual boot systems in our personal computer, then We have faced a problems. The problems is which OS are boot in first time. Now I fixed this problems. And give you a solution below... First Open your Terminal, and write this command...   fgrep menuentry /boot/grub/grub.cfg   This will display all your install OS. Now you can select at your choice-- Now you can copy Windows 10 (on /dev/sda1).  And now write this command...    sudo gedit /etc/default/grub Change the entry   GRUB_DEFAULT=0 to   GRUB_DEFAULT=" Windows 10 (on /dev/sda1) "   And finally place a command like this...   sudo update-grub

Install Oracle JDK and declaring path in Linux Operating System (Ubuntu 18.04)

We can install oracle jdk at any Linux operating systems. Firstly We need updated oracle jdk. We collect this from Oracle site . Now We can not directly download jdk without sign in account. So, Firstly We create a fresh account in oracle site. Then Download Oracle JDK for Linux 64bit version.Now Extract it... tar -zxvf jdk-8u211-linux-x64.tar.gz Create a new folder in /usr/lib directory. Then move this file it. sudo mv jdk1.8.0_211/ /usr/lib/java Now Update java alternative these command... sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/java/jdk1.7.0_65/bin/java" 1   sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/java/jdk1.7.0_65/bin/javac" 1 sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/java/jdk1.7.0_65/bin/javaws" 1 Now update ~/,barchrc file. Command.. sudo gedit ~/.bashrc And past this command in this fil

How to fixed networks request failed in Android 9.0

When we request server through Restfull api service then Unfortunately  shutdown apps. We can solve this error. Open your manifest file and adding.. android :usesCleartextTraffic= "true" In <application></application> Tag.