---
title: "Discussion on \"Installing Java on Ubuntu (without breaking your shell)\" | Hashnode"
description: "Discussion on \"Installing Java on Ubuntu (without breaking your shell)\". TL;DR -- Different shells store environment variables in different locations. Set environment variables using your shell's recommended location.\n\nThere are plenty of resources out there for installing Java on Ubuntu, but I wanted to write one that co..."
url: "https://hashnode.com/posts/installing-java-on-ubuntu-without-breaking-your-shell/64815d91e39007f9ec437522"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Installing Java on Ubuntu (without breaking your shell)](https://blog.saleshorse.org/installing-java-on-ubuntu-without-breaking-your-shell?utm_source=hashnode&utm_medium=feed)

TL;DR -- Different shells store environment variables in different locations. Set environment variables using your shell's recommended location. There are plenty of resources out there for installing Java on Ubuntu, but I wanted to write one that co...

Jun 8, 2023 · 5 min read · blog.saleshorse.org  
Updated Jun 22, 2023  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)
-   [#zsh](https://hashnode.com/tag/zsh)
-   [#terminal](https://hashnode.com/tag/terminal)
-   [#shell](https://hashnode.com/tag/shell)

## Written by

[Sharif Elkassed](https://hashnode.com/@saleshorse)

@saleshorse · Virginia, USA

  
[View profile](https://hashnode.com/@saleshorse)

fullstack JavaScript and Salesforce

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
