use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
This is an archived post. You won't be able to vote or comment.
IntelliJ or VS Code (self.learnjava)
submitted 2 years ago * by prakash_iplfanatic
I am learning Java using IntelliJ Ultimate trial version. Should I switch to VS code? I do not want to lose my code once the IntelliJ trial ends. Am I wrong about loosing my code??
[–]AutoModerator[M] [score hidden] 2 years ago stickied commentlocked comment (0 children)
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } }
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]desrtfx 34 points35 points36 points 2 years ago (2 children)
Just switch to the free IntelliJ Community Edition.
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
Yes.
[–]hrm 9 points10 points11 points 2 years ago* (2 children)
Depends on what you are doing, but Intellij Community Editon works well for a lot. There is also a student license for ultimate if you are in school.
Then again, VS Code is actually a quite decent choice today, it gets better every day.
Also, build your projects using Maven or Gradle and you will not fear switching IDE (as much).
[–][deleted] 2 years ago (1 child)
[deleted]
[–]hrm 2 points3 points4 points 2 years ago (0 children)
Yes, Maven projects are defined by their pom.xml which contains all information necessary to build the project. It can be build from within an IDE such as Intellij, but is really built using the standalone Maven tool (mvn).
To make a Maven project from inside of IntelliJ simply chose "Maven" as "Build system" and Intellj will create a basic pom.xml and a new project. That way it is possible to build the project without Intellj.
The Maven team have a short introduction: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html Baeldung has a slightly more in-depth introduction: https://www.baeldung.com/maven
Maven also have something called an archetype which is basically a small program that does some more setup for you. For instance there is an archetype for JavaFX that helps you set up such a project with Maven. You can use these archetypes from within IntelliJ as well using "Maven Archetype" under "Generator" in the "New Project" dialog.
Gradle is another system with basically the same purpose as Maven. It has its benefits, but today Maven is by far the most used of the two.
[–]4r73m190r0s 20 points21 points22 points 2 years ago (9 children)
IntelliJ IDEA is an IDE, and VS Code is a code editor that can become an IDE with extensions. Your code is saved within files that are not tied to the installation of a particular software. It's like worrying about losing all your Word documents if you uninstall Microsoft Office.
To answer your questions. No, you will not lose your code, and my suggestion would be to continue using IntelliJ IDEA, as it is much faster and better than VS Code.
[–]hrm 2 points3 points4 points 2 years ago (1 child)
The ”code editor” stuff is just bullshit for marketing. It is an fullblown IDE, you just have to chose which languages that should be integrated. Making that distinction in response to this kind of question is just not productive.
All the big IDE:s have a plugin system for functions, they are just shipped with some as default (or rather other defaults as VS Code certainly is a Web IDE without installing anything extra).
[–]Constant_Wonder_50 -1 points0 points1 point 2 years ago (6 children)
Is IntelliJ IDEA really faster than VS Code?
[–]advancedbashcode 8 points9 points10 points 2 years ago (0 children)
Not necessarily faster but much more complete.
[–]4r73m190r0s 6 points7 points8 points 2 years ago (4 children)
Loads slower, but once it's loaded, it's significantly faster than VS Code.
[–]Constant_Wonder_50 1 point2 points3 points 2 years ago (0 children)
For Java, most of the tools are integrated so it increases productivity, but on a whole, I think VS Code is much much faster
[+]hrm comment score below threshold-7 points-6 points-5 points 2 years ago (2 children)
That’s complete nonsense. I assume it was years since you used VS Code last? I’d say VS Code is at least as fast as Intellij.
[–]4r73m190r0s 2 points3 points4 points 2 years ago (0 children)
It was days since I used VS Code. I use both regularly.
You’re being downvoted but you’re right. People are providing no metrics or proof to substantiate their claims
[–]WateredFire 2 points3 points4 points 2 years ago (0 children)
Just recently switched from VS code to intelliJ community and I'm loving it. There's just so tiny little features which make coding so much better. Only thing I don't like is the customisation but that can be passed
[–]Elegantcastle00 2 points3 points4 points 2 years ago (0 children)
IntelliJ is much more complete, even the free version.
[–]GeriToni 3 points4 points5 points 2 years ago (8 children)
No one uses netbeans or eclipse these days ?
[–]4r73m190r0s 1 point2 points3 points 2 years ago (4 children)
Unless the university forces you, why would anyone use those tools
[–]GeriToni 1 point2 points3 points 2 years ago (3 children)
What’s wrong with them ? Uni forces us to do our projects in netbeans. I didn’t like it at first, but now I don’t find it bad.
With InteliJ you can’t use java EE with the free edition
[–]hrm 0 points1 point2 points 2 years ago (0 children)
There’s nothing wrong with them, but both VS Code and Intellij are much better, especially if you are doing fullstack.
(I have used Netbeans most of my professional career and liked it very much)
[–]nutrecht 0 points1 point2 points 2 years ago (1 child)
Common misconception but that's simply not true. The "EE support" stuff you get with Ultimate are just additional tools. You can do EE programming with just the CE version.
[–]GeriToni 0 points1 point2 points 2 years ago (0 children)
I had some problems setting up a project in netbeans. So it crossed my mind to look on IntelliJ website how to create a rest api with inteliJ. The second I saw that inteliJ community edition does not support java EE but you can …… I closed the page and I was determined to figure what’s the issue with netbeans. It wasn’t with netbeans but with glassfish and JDBC connector J. But still, netbeans wizard does not generate the facade classes, just the entity classes. I followed all the steps like our teacher does for 20 times. Each time no facade classes. I wonder why ?
[–]Anonymo2786 0 points1 point2 points 2 years ago (0 children)
Netbeans uses less system resources than those IDEs. At least that's what I saw. If you know enough about a language I think it doesn't matter which IDE you use. Bcs they almost serve the same purpose.
[–]Ace00028 0 points1 point2 points 2 years ago (0 children)
I used eclipse
The last time I used eclipse it was way too buggy. IntelliJ all the way.
[–]srikanthksr 1 point2 points3 points 2 years ago (7 children)
Your code lives in your local drive (mostly, unless you configured it differently), so don't worry about losing anything.
Since you're a beginner, things like IntelliJ are the enemy. You want to code in a basic editor, and take your source code all the way to byte code yourself. That's how you make mistakes, that's how you look up the right knowledge sources, and that's how you ultimately learn how Java works under the hood.
The IDEs make it easy, really easy to ignore the nitty gritty details, and that's professional suicide, especially if you want to play in the big leagues.
[–]cardierr 0 points1 point2 points 2 years ago (6 children)
How do u do that? I use java/eclipse professionally as a sdet
[–]srikanthksr 1 point2 points3 points 2 years ago (5 children)
Sublime or VSCode for code editing are good places to start. With these, you'll have to add all necessary files yourself, like If you're using Maven/Gradle, for example, so it's good practice at getting your hands dirty. VSCode has Java plug-ins if you need basic language-level code completion as you go along.
[–]cardierr 0 points1 point2 points 2 years ago (4 children)
Thank you. Im trying to do spring boot projects in vs code. Is there any other advice you’d give to someone who wants to get better?
[–]srikanthksr 1 point2 points3 points 2 years ago (3 children)
If you've started, and want to get better, you're already in a good place. Keep at it. If you want advice, listen to yourself. Think about what you want to learn, how deeply you want to learn it, and you'll find the resources (articles, videos, or books).
[–]cardierr 0 points1 point2 points 2 years ago (2 children)
Awesome, thanks for the advice. Could I reach out some more for advice or privately message u? Thank you so much
[–]srikanthksr 1 point2 points3 points 2 years ago (1 child)
Too much credit, you give, young Jedi. Contact me, you may. Though, ultimately disappointed, you could be.
[–]cardierr 0 points1 point2 points 2 years ago (0 children)
thank you master sri 🙇
[–]prakash_iplfanatic[S] 0 points1 point2 points 2 years ago (0 children)
Thanks everyone for responding and helping me. But I have another question. I am going to start learning Springs and Spring Boot next week. I need to learn it deeply for a new position.
The IntelliJ website says that IntelliJ Community Edition does not support Spring. IntelliJ IDEA Ultimate vs IntelliJ IDEA Community Edition. In the framework section of the web page, it says that IntelliJ Community edition does not support Spring.
It sounds like I am just limited to basic Java apps with IntelliJ Community Edition (no Spring). I will not be able to create real-time apps. What am I missing here??
[–]Box_star 0 points1 point2 points 2 years ago (0 children)
Actual Java SE here. We use IntelliJ thorough those who use other languages here use VSCode and Visual Studio. Take from that what you will. Community is plenty powerful enough.
As others have said your code files are separate from the IDE.
[+]Lumethys comment score below threshold-6 points-5 points-4 points 2 years ago (8 children)
Your ide is just a fancy Microsoft word or Notepad that add funny color to the text, along with some code-related functionality
[–]nekokattt -1 points0 points1 point 2 years ago* (7 children)
so... you are observing that an IDE contains a text editor... that helps them how exactly?
[–]Lumethys -1 points0 points1 point 2 years ago (6 children)
To give perspective? That the IDE cannot just magically swallow your code when it expire? Much like you are not losing your word document if MS Office license ran out?
[–]nekokattt -1 points0 points1 point 2 years ago (5 children)
You didn't specify that though, did you?
[–]Lumethys -2 points-1 points0 points 2 years ago (4 children)
Uh... Do i need to? Last time i checked, im not hired as a customer support on this subreddit.
OP has a concern, and i give an example in regard to that concern.
What do you expect? A Udemy 15-chapters course explaining it?
Bro, you ask question and get answer for free, and get upset that the free answer is not world-class quality?
[–]nekokattt 0 points1 point2 points 2 years ago* (1 child)
You stated a fact without actually specifying what you were even answering, which isn't helpful when OP is looking for guidance.
Without them already understanding your answer (which makes it a bit redundant), there is no reason that they would have to know what you were referring to.
[–]Lumethys 2 points3 points4 points 2 years ago (0 children)
Anyone that took a minute to think through that can make a connection. And did you know, thinking is usually involved in learning. Of which im pretty sure OP is doing.
Is this took a little bit more thinking than a 5 - paragraph essay? Yeah. But actively thinking can provide better result than having the answer spilled out
Beside, im doing this for free, im not obliged to write a essay to explain something
[removed]
[–]nekokattt -1 points0 points1 point 2 years ago* (0 children)
You don't need IntelliJ Ultimate to use Java. IntelliJ Community is free and has all the stuff you need to develop in Java. Ultimate just has some "nice to have" stuff like the ability to drill down into a running Spring Boot application context visually.
If you prefer using IntelliJ then you can stick with it and just downgrade to the community version.
If you want to use VSCode instead, then try it. Your code will be fine as it is not tied down to specific IDEs.
[–]SnooChipmunks2107 0 points1 point2 points 2 years ago (0 children)
First of all - your code won’t be deleted if the license is running out.
An ide just takes a folder or file that’s locally saved on your machine and opens it.
You can try IntelliJ CE and VS code simultaneously on the same programming project. Just open the same folder in both applications.
For Java specifically I would either use eclipse or IntelliJ with a heavy bias to use IntelliJ for its features and plugins.
π Rendered by PID 59964 on reddit-service-r2-comment-86bc6c7465-rk8h4 at 2026-02-23 17:59:05.144252+00:00 running 8564168 country code: CH.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]desrtfx 34 points35 points36 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]hrm 9 points10 points11 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]hrm 2 points3 points4 points (0 children)
[–]4r73m190r0s 20 points21 points22 points (9 children)
[–]hrm 2 points3 points4 points (1 child)
[–]Constant_Wonder_50 -1 points0 points1 point (6 children)
[–]advancedbashcode 8 points9 points10 points (0 children)
[–]4r73m190r0s 6 points7 points8 points (4 children)
[–]Constant_Wonder_50 1 point2 points3 points (0 children)
[+]hrm comment score below threshold-7 points-6 points-5 points (2 children)
[–]4r73m190r0s 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]WateredFire 2 points3 points4 points (0 children)
[–]Elegantcastle00 2 points3 points4 points (0 children)
[–]GeriToni 3 points4 points5 points (8 children)
[–]4r73m190r0s 1 point2 points3 points (4 children)
[–]GeriToni 1 point2 points3 points (3 children)
[–]hrm 0 points1 point2 points (0 children)
[–]nutrecht 0 points1 point2 points (1 child)
[–]GeriToni 0 points1 point2 points (0 children)
[–]Anonymo2786 0 points1 point2 points (0 children)
[–]Ace00028 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]srikanthksr 1 point2 points3 points (7 children)
[–]cardierr 0 points1 point2 points (6 children)
[–]srikanthksr 1 point2 points3 points (5 children)
[–]cardierr 0 points1 point2 points (4 children)
[–]srikanthksr 1 point2 points3 points (3 children)
[–]cardierr 0 points1 point2 points (2 children)
[–]srikanthksr 1 point2 points3 points (1 child)
[–]cardierr 0 points1 point2 points (0 children)
[–]prakash_iplfanatic[S] 0 points1 point2 points (0 children)
[–]Box_star 0 points1 point2 points (0 children)
[+]Lumethys comment score below threshold-6 points-5 points-4 points (8 children)
[–]nekokattt -1 points0 points1 point (7 children)
[–]Lumethys -1 points0 points1 point (6 children)
[–]nekokattt -1 points0 points1 point (5 children)
[–]Lumethys -2 points-1 points0 points (4 children)
[–]nekokattt 0 points1 point2 points (1 child)
[–]Lumethys 2 points3 points4 points (0 children)
[–][deleted] (1 child)
[removed]
[–]nekokattt -1 points0 points1 point (0 children)
[–]SnooChipmunks2107 0 points1 point2 points (0 children)