r/learnjava • • Feb 12 '22

I changed IDE from Netbeans to Eclipse. Feels great.

I started to learn using Netbeans but I always felt it lacked...something. I dont really know. I just downloaded Eclipse and it feels more solid. It just works. For those using Netbeans I would recommend checking out Eclipse and see if you like it!

56 Upvotes

71 comments sorted by

•

u/AutoModerator Feb 12 '22

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full - best also formatted as code block

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

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://imgur.com/a/fgoFFis) 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.

To potential helpers

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.

151

u/karanbhatt100 Feb 12 '22

Now change from Eclipse to IntelliJ and have same feeling again

6

u/raulalexo99 Feb 12 '22

I checked it up. You cant edit HTML and CSS on free version? Or thats my understanding at least

5

u/nutrecht Feb 12 '22

You can, it's just much more advanced in the Ultimate version.

2

u/karanbhatt100 Feb 12 '22

I think you can. I have worked on Thymeleafe with Spring Boot.

0

u/[deleted] Feb 12 '22

[deleted]

5

u/karanbhatt100 Feb 12 '22

You can but you need to use it by creating the zip from website and importing it in IntelliJ

I am using it with Kotlin

2

u/[deleted] Feb 12 '22

I'll just settle for Eclipse/Visual Studio Code.

If there was a one off price for it id be tempted. But an ongoing subscription for a side thing doesn't seem worth it.

1

u/TheFaustX Feb 12 '22

The sub is a one off price you keep one version forever if you pay for the sub once. See perpetual fallback license: https://sales.jetbrains.com/hc/en-gb/articles/207240845-What-is-a-perpetual-fallback-license-

In general the community edition does most things so well ultimate is just very nice to have.

1

u/Nightcorex_ Feb 12 '22

Many universities allow you to get an Ultimate license for free

2

u/nekokattt Feb 12 '22

You dont need to do that. Just make a basic gradle/maven project like you normally would, and add the dependencies normally.

1

u/nekokattt Feb 12 '22

You can use Spring Boot in community. It just doesn't have the full IDE support for the framework, but you don't really need it.

I've worked with Spring Boot on the Community version for the best part of 4 and a half years now without any need to use ultimate.

The IDE integration is just stuff like the IDE being able to determine what beans are available, and to inspect the app context state while it is running.

You can still look at the app context through a debugger anyway on community. It just doesn't have as much of a pretty UI for it.

Support for various templating engines will vary, of course, but it isn't a be-all-an-end-all. I write REST APIs so I don't exactly need it, and if I did, I'd just put up with IntelliJ treating it like a text file, or just use VSCode to edit those files instead.

0

u/raulalexo99 Feb 12 '22

I mean, it looks great, but its not free.

18

u/ToyDingo Feb 12 '22

IntelliJ was made specifically for Java. The free version is more than adequate for even professional work.

0

u/FrenchFigaro Feb 12 '22

It's not adequate enough for professional work, though

1

u/nutrecht Feb 12 '22

It's adequate. But if your boss won't buy you an ultimate license they're a moron.

3

u/FrenchFigaro Feb 12 '22

Back then, they eventually did. Because the community edition is not adequate.

I've worked with all three of IntelliJ community edition, IntelliJ ultimate edition, and eclipse in the past 7 years, for months at a time with each one and my assessment is as follows:

The community edition is a toy, to tinker with, at best. It's only redeeming feature is that it is open source.

The ultimate edition is a perfectly good IDE. While it used to be leagues ahead of eclipse in every aspect, it is not any more. It is still marginally better, but not enough to justify lobbying my employer for them to pay for a license, and certainly not to pay for it myself.

1

u/Able-Meringue-3506 Feb 12 '22

Can Eclipse nowadays use a VCS without having to install 5 plugins? Can I use it with just shortkeys? If you do something for several hours a day then productivity matters and IJ is hard to beat there. The price of IJ is negligible to what a developer costs nowadays…

1

u/FrenchFigaro Feb 12 '22

Eclipse is a modular platform, everything is done through plugins. That's why you use distros, which come with the relevant plugins already installed.

All java-oriented distros I'm aware of support several VCS's right out of the box and have done so since I first used eclipse over a decade ago.

Which is a moot point anyway, since the most productive way to use a VCS is to use it in terminal, not in the IDE.

Again, I'm not saying IJ Ultimate is not good. It is. It is very good. It's just not that much ahead of eclipse any more, and not enough to justify payment.

Productivity when coding is all well and fine, but as an engineer, while coding is definitely one of the most gratifying part of my job, and the one I spend most time on, it's not an absolute majority of it and swapping IDEs has never significantly affected my overall productivity.

I'm much more comfortable with eclipse than with IJ, and that is worth a lot more in my opinion.

Overall, it really feels like the Dworak VS Qwerty map flame war, where every side is extremely adamant that their option is the best, but not a single seriously controlled study has been able to prove any real advantage for one side or the other, be it for claims of typing speed, comfort of type or MSD reduction.

-8

u/raulalexo99 Feb 12 '22

But no support for HTML/CSS/JS tho?

11

u/Farpafraf Feb 12 '22

not sure use VSCode then, it's still better than Eclipse

1

u/jordqubbe Feb 12 '22

They have a separate IDE for Web Dev stuff, I think it’s called PHPStorm

13

u/cjthomp Feb 12 '22
  • PHPStorm for PHP

  • WebStorm for Javascript (node, react, etc)

  • PyCharm for Python

  • DataGrip for Databases

  • Rider for .NET

  • RubyMine for Ruby/RoR

  • GoLand for Go

  • AppCode for Mac/iOS

  • Android Studio for Android

  • CLion for C/C++

And a couple data science ones

0

u/CLOVIS-AI Feb 12 '22

There is basic coloration and auto-completion. It's already better than what most editors provide, though it feels very barebone for a JetBrains product.

0

u/[deleted] Feb 12 '22

Why does this matter so much haha

4

u/lightmaster2000 Feb 12 '22

Community edition is free

2

u/raulalexo99 Feb 12 '22

I checked it up. You cant edit HTML and CSS on free version? Or thats my understanding at least

5

u/lightmaster2000 Feb 12 '22

I use VScode for Web dev stuff (HTML, CSS, JavaScript). I only use intellij for Java.

2

u/nekokattt Feb 12 '22

You can edit HTML and CSS just fine in community...

34

u/karanbhatt100 Feb 12 '22

There is community edition which is free.

12

u/curlyheadedfuck123 Feb 12 '22

there is certainly a free version. It's less featureful, but you can check it out

5

u/CLOVIS-AI Feb 12 '22

Intellij Ultimate is free for students and open source non-profit projects.

IntelliJ Community is free for all, and has all the features except advanced backend stuff (essentially, JEE etc)

1

u/Gvistic Feb 12 '22

I love using the ultimate for free, but I have one more semester left :(

2

u/CLOVIS-AI Feb 14 '22

If you'll be working on an open source non profit project, you can continue using it for free, there's a specific license for that.

If you're working for a company, there are a few discounts you might be interested (-50% for startups and -20% for users who previously had a student license, IIRC).

Also, the full price is really not that much and it decreases every year. By the third year, it's less than Netflix. Personally I'll definitely pay for it, I've been using their tools for the past 5 years in all languages and projects, I couldn't imagine going back to less powerful editors.

1

u/Parking-Setting-355 Feb 12 '22

Btw, the majority of JetBrains IDEs (including Idea ofc) have a Early Access Program (EAP) builds, so you can use pre-release versions for any purposes for free, iirc.

1

u/CLOVIS-AI Feb 13 '22

I think they ended that last year, and now EAP requires a normal subscription.

For my case though, I've been a student for the past 5 years, so I'll get the 20% off, and to be honest at this point IntelliJ & co have made me so much faster at everything that I'll gladly pay for it.

1

u/jackballack Feb 12 '22

I'm struggling to use the TMC plugin, please help, doesnt wanna log in to my MOOC.fi account

1

u/DifferentTop4553 Feb 12 '22

Damn it you were too quick xD

1

u/[deleted] Feb 12 '22

i just wrote this :(

1

u/[deleted] Feb 13 '22

I am a total newbie who has been coding Java for a short period of time. I tried IntelliJ and NetBeans and the latter feels more beginner friendly to me. what is better about IntelliJ? a lot of people highly recommend it.

1

u/kgyre Feb 13 '22

Well that didn't take long.

6

u/mrfroggyman Feb 12 '22

I've tried eclipse, Vs code, IntelliJ, and im with you on this one despite what seems to be the general consensus here

Eclipse, idk why, just feels right to me

2

u/usedToBeUnhappy Feb 12 '22

And that‘s perfectly fine. Use whatever tool fits you and your tech stack best.

11

u/[deleted] Feb 12 '22

Bruh..changing to intellij will be life changing. I bought a licence just to support them thats how much even my stingy ass loves it.

4

u/timPerfect Feb 12 '22

I like eclipse too

2

u/Gvistic Feb 12 '22

A wise professor once told me, never stick to just one resident IDE, you never know what your current project will call for.

0

u/nutrecht Feb 12 '22

That 'wise professor' obviously has no production experience with Java projects. Java projects are almost always completely IDE independent.

2

u/Gvistic Feb 12 '22

I was talking generally, not just java.

Here is an example of what I/he meant: "Man I'm just learning MySQL and using eclipse, and oh boy Intellij has nice database features, but nah Eclipse is my native IDE I would never switch."

2

u/nutrecht Feb 12 '22

Why will I use Intellij, when I'm working with React? I'd rather use visual studio code.

You didn't mention React. This is /r/learnjava. Not /r/learn[javascript|typescript] :) People will assume you're talking about Java projects.

Ultimate supports React very well. CE doesn't. So it mostly depends on what you want to spend money on. If you don't; then definitely use something like VSCode for the react programming.

Here is another example: "Man I'm just learning MySQL and using eclipse, and oh boy Intellij has nice database features, but nah Eclipse is my native IDE I would never switch."

We were talking about IntelliJ. It's just miles ahead of Netbeans and Eclipse at this point.

But for Java projects it's generally totally fine to just stick to your preferred IDE. There's generally no need to switch between IDEs for different projects. And that bit is what I'm responding to.

If you just want to say "Use whatever tool fits best" I agree 100%. But that's not what you said :)

2

u/Gvistic Feb 12 '22

Yes "whatever tool fits best" was the idea I was trying to convey

2

u/nutrecht Feb 12 '22

Okay, then I totally agree. Sorry I misread what you posted :)

2

u/vhacbao_vn Feb 12 '22

I like Eclipse than IntelliJ. I dont use netbean

4

u/Housy5 Feb 12 '22

Glad you found one you like! Ill stick with NetBeans though thanks anyway!

2

u/8bagels Feb 12 '22

I want to like netbeans so much. Their swing Gui editor is amazing

2

u/WheredMyBrainsGo Feb 12 '22

This is the reason I use it. There’s just no better alternative I have found. (Open to suggestions) Once you get used to it’s quirks it’s really a great IDE.

1

u/8bagels Feb 12 '22

Ya I stopped using it when I embraced javafx for desktop ui. The quirks you noted are such that it really knocks netbeans when compared to other ides IMO. But I love how netbeans is willing to not always have their own project structure but instead promote and embrace the existing maven or gradle project structures

1

u/WheredMyBrainsGo Feb 12 '22

What do you use to build your javafx UI?

1

u/8bagels Feb 12 '22

The javafx scene builder. IntelliJ and really most IDEs can launch it and integrate with it real seamlessly. Making it feel just like another part of your IDE of choice

1

u/WheredMyBrainsGo Feb 12 '22

Interesting, I’ll have to take a look at that. Guess I missed that bus. Started writing Java back in 1.7 and came back to it a couple of years ago, so I must’ve missed all the hype haha.

1

u/izzzzzzzzzme Feb 12 '22

I started with BlueJ and when I switched to eclipse it actually made me enjoy Java a lot more

1

u/DindoNuffin_ Feb 12 '22

Wait till you get to intelliJ

1

u/stewtech3 Feb 13 '22

What do you like better about it than Eclipse?

1

u/DigitalTorture Feb 12 '22

I usually use Eclipse for my java projects, but IntelliJ works well also. Definitely don't like Netbeans as it can get a bit of lag, etc.

1

u/Chowder1054 Feb 12 '22

I feel like netbeans is good for people starting off with Java as it isn’t as complicated as eclipse and the UI imo is better.

1

u/ankit-est-une-vache Feb 14 '22

Am I going to get insulted if I say vscode is better?

1

u/fracturedpersona Feb 15 '22

Imagine how you'll feel when you switch from Eclipse to Vim!

1

u/[deleted] Feb 12 '22

try intellij i bet you will be even more amazed

-3

u/mods_are_arseholes Feb 12 '22

I did the opposite went from eclipse to netbeans. Intellij is just to bloated

-4

u/frostedcake74 Feb 12 '22

No IntelliJ MOOC from Helsinki, what a shame.

3

u/Jayroprofo Feb 12 '22

Pretty sure you can use the TMC Plugin in the Marketplace. I've never used it but I've heard that you can do it through Intellij

0

u/[deleted] Feb 12 '22

[deleted]

1

u/ghostmaster645 Feb 12 '22

Omg thank you that has been holding me back. I don't like NetBeans lol.