<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sabin Bogati on Medium]]></title>
        <description><![CDATA[Stories by Sabin Bogati on Medium]]></description>
        <link>https://medium.com/@sabinbogati1?source=rss-39d0d73dd461------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HYjU3-aG11mPP-ep.</url>
            <title>Stories by Sabin Bogati on Medium</title>
            <link>https://medium.com/@sabinbogati1?source=rss-39d0d73dd461------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:57:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sabinbogati1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Fix the “Android Gradle plugin requires Java 17 to run.]]></title>
            <link>https://medium.com/@sabinbogati1/how-to-fix-the-android-gradle-plugin-requires-java-17-to-run-2d4ee32243af?source=rss-39d0d73dd461------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d4ee32243af</guid>
            <dc:creator><![CDATA[Sabin Bogati]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 07:26:04 GMT</pubDate>
            <atom:updated>2024-08-24T07:29:51.286Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Fix the “Android Gradle plugin requires Java 17 to run. You are currently using Java 11” Error on Ubuntu for React Native</h3><p>On Ubuntu, you’ll need to install Java 17 and set it as the default Java version for your system. Here’s how you can do it:</p><h3>Step 1: Install Java 17</h3><p>You can install OpenJDK 17 using the following commands:</p><ol><li><strong>Update your package list:</strong></li></ol><pre>sudo apt update</pre><p><strong>2. Install OpenJDK 17:</strong></p><pre>sudo apt install openjdk-17-jdk</pre><h3>Step 2: Set Java 17 as the Default Version</h3><p>After installing Java 17, you need to set it as the default Java version:</p><ol><li><strong>Check available Java versions:</strong></li></ol><pre>sudo update-alternatives --config java</pre><p>This command will list all installed Java versions. You should see Java 17 listed here.</p><p><strong>2. Set Java 17 as the default:</strong> If Java 17 is not the default, you can set it by selecting the appropriate option from the list displayed by the previous command.</p><p>Alternatively, you can manually set it using:</p><pre>sudo update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java</pre><p><strong>3. Verify the Java version:</strong></p><pre>java -version</pre><p>This command should show that you are using Java 17.</p><h3>Step 3: Configure Android Studio</h3><p>Ensure that Android Studio is using the correct Java version:</p><ol><li><strong>Open Android Studio.</strong></li><li>Go to File &gt; Project Structure &gt; SDK Location.</li><li>Ensure that the JDK location is pointing to the Java 17 directory (e.g., /usr/lib/jvm/java-17-openjdk-amd64).</li></ol><h3>Step 4: Sync and Rebuild</h3><p>After configuring Java 17, sync your Gradle project and rebuild it in Android Studio.</p><p>This should resolve the issue and allow you to run your project with the Android Gradle plugin that requires Java 17.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d4ee32243af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install Apache Kafka in Ubuntu or any Linux O.S.?]]></title>
            <link>https://medium.com/@sabinbogati1/how-to-install-apache-kafka-in-ubuntu-or-any-linux-o-s-c9ba7905d5c7?source=rss-39d0d73dd461------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9ba7905d5c7</guid>
            <category><![CDATA[kafka-installation]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[kafka]]></category>
            <dc:creator><![CDATA[Sabin Bogati]]></dc:creator>
            <pubDate>Sun, 03 May 2020 13:36:15 GMT</pubDate>
            <atom:updated>2020-07-06T04:22:12.759Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, i will show you how to install Apache Kafka in Ubuntu. Basically the process is same for any Linux like OS.</p><p><strong>Step 1.</strong></p><p>Go to official Apache Kafka website or click on the link below</p><blockquote>https://kafka.apache.org/downloads.html</blockquote><p>When we click on the link you will see the all the version of Kafka. At this time 2.5.0 is the latest release. Please note that here you’ll find links to source download and binary downloads. You need to download binary download.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*qv07cKhcqIZGTuEkVEhCRQ.png" /></figure><p>If version of Scala matters to you then you can choose appropriate version, if not then <strong>Scala 2.12</strong> is recommended. Now, click the link for Scala 2.12 . The redirected page looks something like below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*5dMesRoinBiuh37zwgIW-A.png" /></figure><p>Here, you will see the mirror site to download Apache Kafka. Copy the mirror link i.e.</p><p><a href="https://downloads.apache.org/kafka/2.5.0/kafka_2.12-2.5.0.tgz"><strong>https://downloads.apache.org/kafka/2.5.0/kafka_2.12-2.5.0.tgz</strong></a></p><p><strong>Step 2.</strong></p><p>Go to terminal. Now, enter the command below to download remote archive and place it into download folder.</p><p>curl <a href="https://downloads.apache.org/kafka/2.5.0/kafka.12-2.5.0.tgz">https://downloads.apache.org/kafka/2.5.0/kafka.12-2.5.0.tgz</a> -o Downloads/kafka.tgz</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Tx315IJr3NDeOZZZNsThw.png" /><figcaption>Command to download Apache Kafka</figcaption></figure><p>Basically, what this command will do is, download Apache Kafka from remote archive and place it into “Downloads” folder and name the downloaded file as <strong>kafka.tgz</strong></p><p>Note if you see curl error in the terminal like below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*ATEc9t9DU8_GTgzcaaOFLQ.png" /></figure><p>Then you can simply enter following command to install curl in your system and rerun above process again</p><blockquote>sudo apt install curl</blockquote><p><strong>Step 3.</strong></p><p>Now, lets create a folder named “kafka” in our system and lets unzip the downloaded Kafka files “<strong>kaka.tgz</strong>” and move it to kafka folder in our system. For this process enter the following command in your terminal.</p><blockquote>mkdir kafka</blockquote><blockquote>cd kafka</blockquote><blockquote>tar -xvzf ~/Downloads/kafka.tgz — strip 1</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*KOtnmOXTcwcMjTBSxS_vrg.png" /></figure><p>After this you basically complete installation of Kafka on your system.</p><p><strong>Step 4.</strong></p><p>Now to run Kafka, all you have to do is to run executable shell scripts located in “bin” folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*aWnCTXwW5HYwdcmHdVnrtQ.png" /><figcaption>Inside kafka folder</figcaption></figure><p>Always remember to start <strong>Zookeeper</strong> initially before running Kafka. Command to start is below:</p><blockquote>. bin/zookeeper-server-start.sh config/zookeeper.properties</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*6Wq7nybp61qN2iwDXiBaiQ.png" /><figcaption>Command to start zookeeper</figcaption></figure><p>Command to run Kakfa is below:</p><blockquote>bin/kafka-server-start.sh config/server.properties</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*RgcSS1_XMFD3aOX2cN0how.png" /><figcaption>Command to start kafka</figcaption></figure><p><strong>I have simplified these steps and made a video you can check it out:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPty5BWJUwMU%3Fstart%3D7%26feature%3Doembed%26start%3D7&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPty5BWJUwMU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPty5BWJUwMU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e730e4bb72f5ab2ea12797e4cf005f8d/href">https://medium.com/media/e730e4bb72f5ab2ea12797e4cf005f8d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9ba7905d5c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easily Upgrade or downgrade Node version using Chocolatey]]></title>
            <link>https://medium.com/@sabinbogati1/easily-upgrade-or-downgrade-node-version-using-chocolatey-b8deee11e4a5?source=rss-39d0d73dd461------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8deee11e4a5</guid>
            <category><![CDATA[installnodejs]]></category>
            <category><![CDATA[chocolatey]]></category>
            <category><![CDATA[upgradenodejs]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[downgradenodejs]]></category>
            <dc:creator><![CDATA[Sabin Bogati]]></dc:creator>
            <pubDate>Sun, 02 Jun 2019 06:54:45 GMT</pubDate>
            <atom:updated>2019-06-02T07:01:19.032Z</atom:updated>
            <content:encoded><![CDATA[<h3>Easily Install, Upgrade or downgrade Node version using Chocolatey</h3><p>I am going to show you, how easy is it to upgrade or downgrade Node version using Chocolatey.</p><p>Before that,</p><p><strong>What is Chocolatey?</strong></p><p>Chocolatey is the package manager for windows. You can easily manage all aspects of windows software(installation, configuration, upgrade and uninstallation) using chocolatey. For more info, you can check out this <a href="https://chocolatey.org/"><em>link</em></a></p><h3><strong>Steps for Upgrading and Downgrading Node Version</strong></h3><h4>Step 1:</h4><p>Go to Search option in Task Bar and type “command” or “cmd”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*r3CNQuNcFWXQbi2DD42GWQ.png" /></figure><h4><strong>Step 2:</strong></h4><p>You will see “Command Prompt”. Now, “Right” click on the command prompt.You will see following options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*sKuhNKoUZZGFC9Dlk79w1w.png" /></figure><h4>Step 3:</h4><p>Now click on “Run as administrator” options. When you click on “Run as administrator” options you will see prompt. Click on “Yes”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*EZp6aGf1svaJ01VHzo5emA.png" /></figure><h4>Step 4:</h4><p>Now copy paste the following text in your command prompt.</p><pre>@&quot;%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe&quot; -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command &quot;iex ((New-Object System.Net.WebClient).DownloadString(&#39;https://chocolatey.org/install.ps1&#39;))&quot; &amp;&amp; SET &quot;PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin&quot;<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UQt8-Kt6Rr-eQZSGpBkKDg.png" /></figure><h4>Step 5:</h4><p>Now, type “choco” in command prompt. If you have install Chocolately correctly, you will see the version of Chocolately that you have installed in your system. And for more info checkout this <a href="https://chocolatey.org/install">link</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*2SYn7Mn8NY9snbT73TPiaQ.png" /></figure><h4>Step 6:</h4><p>Finally, for installing Node copy paste the following code,</p><blockquote><strong>choco install nodejs.install — version 12.3.0</strong></blockquote><p>For, upgrading node version install following code</p><blockquote><strong>choco upgrade nodejs.install — version 12.3.0</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*a4OZgQ9MDfb0r5OKr-1law.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8deee11e4a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup project for angular]]></title>
            <link>https://medium.com/@sabinbogati1/setup-project-for-angular-6ad4d288d302?source=rss-39d0d73dd461------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ad4d288d302</guid>
            <dc:creator><![CDATA[Sabin Bogati]]></dc:creator>
            <pubDate>Wed, 29 May 2019 11:41:05 GMT</pubDate>
            <atom:updated>2019-05-29T11:41:05.426Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello this is simple tutorial for setting up project for angular</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ad4d288d302" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>