Javascript dev here. It really depends on what you want to do. I don’t think Java or javascript are going away any time soon. Android apps (Java primarily, you can use js sorta) are not going to go out of style. Web apps will always be necessary. If you want to pick up development quicker javascript is the way to go. If you don’t mind having a learning curve (which you could argue is better for you in the long run) try Java out. Answer from Alexisbestpony on reddit.com
Reddit
reddit.com › r/learnprogramming › what should i learn, java or javascript?
r/learnprogramming on Reddit: What should I learn, Java or Javascript?
July 21, 2021 -
Devs of the world, I have a question for you:
So I'm about to start studies on development, and I have two options: either I go with Java and apps for different platforms and environments, or I go with Javascript and specialize on web development. I'm fine with both, but I'm unsure of which one has more future, so if you could give me a hand here it would make things easier for me.
Thanks a lot!
Top answer 1 of 6
6
Javascript dev here. It really depends on what you want to do. I don’t think Java or javascript are going away any time soon. Android apps (Java primarily, you can use js sorta) are not going to go out of style. Web apps will always be necessary. If you want to pick up development quicker javascript is the way to go. If you don’t mind having a learning curve (which you could argue is better for you in the long run) try Java out.
2 of 6
1
Java. JS is a shitshow of a language, it's not a good one to start with, you'll learn bad habits. It's better to learn a more structured language as your first one. Both have a big future, but it doesn't really matter, once you've learned one language, the next will be lot easier, the one after that, easier still.
Learning Java or Javascript?
Hi, I know a little about Javascript and Java, both at almost equal level I would say (but a little more Javascript with Node.js and React.js I would say). I would like to immerse myself deeply into either Java or Javascript, but I don’t know which language to chose. More on forum.freecodecamp.org
Java or Javascript ?
If you have never learned any programming language then learning Java will make you develop a deeper understanding of oop. Then learning other programming languages becomes trivial. More on reddit.com
Start with JavaScript or Java?
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: Limiting your involvement with Reddit, or Temporarily refraining from using Reddit Cancelling your subscription of Reddit Premium as a way to voice your protest. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
Learn Java or JavaScript?
Technically you can do both. Build a web app using the Spring data REST backend (Java) and a React (JavaScript) frontend. https://spring.io/guides/tutorials/react-and-spring-data-rest/
It will be challenging, but great experience.
More on reddit.comDo you need to learn Java before JavaScript?
No, you don’t need to learn Java before JavaScript. These languages serve different purposes, with JavaScript focusing on web development and Java tackling server-side tasks.
mimo.org
mimo.org › blog › java-vs-javascript-whats-the-difference
Java vs JavaScript: What's the Difference? - Mimo
Which is better: Java or JavaScript?
Deciding between Java and JavaScript isn’t about which is 'better.' They’re distinct programming languages with unique strengths and applications. Java is a compiled language that operates on the server side, crafting complex desktop applications and Android apps. JavaScript, a lightweight and interpreted scripting language, operates in web browsers and helps front-end developers create interactive web pages.
mimo.org
mimo.org › blog › java-vs-javascript-whats-the-difference
Java vs JavaScript: What's the Difference? - Mimo
Is Java better than Javascript?
Neither programming language is automatically better, because they have different uses. Java is better for cross-platform, non-web-based functionality and scalability. Javascript is better for front-end web development and real-time data updating.
edx.org
edx.org › resources › java-vs-javascript
Java vs. Javascript | Program differences and similarities | edX
Videos
02:00
Should I Learn Java or JavaScript? - YouTube
04:38
Java vs JavaScript: Which language is the best to use in 2024? ...
14:54
Java vs JavaScript - YouTube
Should you still LEARN Java in 2023
01:00
Java, JavaScript or Python - What should I choose ? - YouTube
CodeGym
codegym.cc › java blog › random › java vs. javascript: what's the difference?
Java vs. JavaScript: What's the Difference?
February 14, 2025 - If you learn Java first and JavaScript a lot of the time you will be like: “Oh, I see why they did that!”. That’s because you know what is happening “under the hood”. On the other hand, if you have experience with languages like C# or C++, I would advise you to learn JavaScript because it is a scripting and primarily a functional language.
Tripleten
tripleten.com › blog › posts › java-vs-javascript-whats-the-difference-and-which-language-should-you-learn
Java vs JavaScript: What’s the Difference and Which Language Should You Learn? - tripleten.com/blog
2 weeks ago - Learn Java or JS: After gaining a solid foundation in programming, you can start learning the language itself. Build projects and portfolio: In order to gain practical experience and develop your skills, you should start building your own projects. You can begin with small tasks, such as a simple calculator or a to-do list, and gradually move on to more complex jobs.
Codecademy
codecademy.com › forum_questions › 4fe46886d5de070003017288
What's the difference between Java and Javascript? | Codecademy
Java and JavaScript, both are different things. JavaScript is a client based browser language and Java is an Object Oriented Programming language. you should learn both the languages.
Sololearn
sololearn.com › en › Discuss › 1596181 › which-is-easy-java-or-javascript
Which is easy java or JavaScript?? | Sololearn: Learn to code for FREE!
November 22, 2018 - I started with Java. It wasn't so hard. I would say that Java helped me to understand OOP, which is important for every developer. ... Javascript having simpler and smaller commands so average people can learn easily.
Learnacademy
learnacademy.org › blog › java-or-javascript-similar-useful
Java vs JavaScript: Crucial Differences You Need to Be Aware ...
Read on to learn about critical differences between Java and JavaScript. Java is deliberately designed to enable programmers to write their code once and then use it in any operating system without having to make further changes. This mostly works. Alongside JavaScript, Java is one of the languages used most often by programming companies.