News for hackers. Stuff that matters.
Re:CLion, the new C/C++ IDE from JetBrains by gchp on Monday September 08, 2014 @07:27AM (#8284203)
I have to say, I'm a big fan of JetBrains products. I use PyCharm pretty much every day and love it.

The only thing that I am not a big fan of though is having to install Java to run any of their IDEs. I'm not a Java developer, and have no need to install it on my system, so having to install it just to use my IDE is a bit of a pain. Small price to pay I guess for an otherwise great product.

Congrats to the team on another great-looking IDE.

Re:CLion, the new C/C++ IDE from JetBrains by tbrock on Monday September 08, 2014 @08:19AM (#8284329)
I dislike dealing with the JVM as much as all the non-java programmers but this is trivial on Mac OS X + Linux and is what allows JetBrains to launch on virtually every platform from day 1.

On OSX the JRE installs on demand and requires very little from the user other than clicking OK and a password. On Linux package managers are there for you. In practice, I'd rather not have Java if I don't need it but it's fairly painless to get setup for this sort of thing.

Sidenote: JetBrains makes a great IDE, I always hear python programmers praising pycharm and java programmers praising intellij.

Re:CLion, the new C/C++ IDE from JetBrains by Sindisil on Monday September 08, 2014 @11:22AM (#8285249)
Though I don't personally have any problem with system Java installations, I agree that it would be nice if JetBrains would just do as most Java game developers (and many destop app developers) do and simply bundle a JRE with the IDE. It'd mean considerable bloat if you use many JetBrains IDEs (as opposed to just IDEA with plugins) of course, but would eliminate the "why do I need Java" complaint.

That, or Oracle could do the right thing and a) remove the crapware installation from the public JRE installer and b) fix the JRE updater to work as silently and smoothly as, say FireFox or Chrome updaters. The latter has gotten much better of late, but could still use improvement.

Re:CLion, the new C/C++ IDE from JetBrains by on_and_off on Tuesday September 09, 2014 @05:34AM (#8289349)
They could optionally ship the IDE with their own embedded JVM. I think that Eclipse does that (or maybe did, I did not check it recently). I don't think it is necessarily worth the trouble though.
Re:CLion, the new C/C++ IDE from JetBrains by DominoTree on Monday September 08, 2014 @10:41AM (#8284983)
I am able to run IDEs from JetBrains on goddamn Solaris without any effort. I can't say that about nearly any other modern piece of software.
Re:CLion, the new C/C++ IDE from JetBrains by 67726e on Monday September 08, 2014 @08:42AM (#8284407)
I seriously don't understand the "I hate Java" meme. My job and hobby languages are all JVM, front-end notwithstanding, but I cannot get a firm grasp on where the hate is coming from. This is about as sensible as me saying "I hate Python" or "I hate Ruby" so I will avoid installing it on my machine. It's just a language and a runtime.

If you don't like writing it or working in it, then sure, we all have opinions on what makes a language good. Not wanting to install a piece of software because it runs applications written in that language just strikes me as a bit silly.

Maybe I just have Stockholm Syndrome after all of these years.

Re:CLion, the new C/C++ IDE from JetBrains by jo_ on Monday September 08, 2014 @09:56AM (#8284707)
People who aren't Java developers hate it because the JRE install is irritating as FUCK. The JDK is smooth sailing. Install, add JAVA_HOME, done. The JRE, on the other hand, pesters people to update once a week, adds a little tray icon, and installs the ASK toolbar by default. I'd always used the JDK, so I never noticed how gross it was until I installed the JRE for someone.

"This looks really different. Oh man it's asking you to auto-update. That's frustrating."

Re:CLion, the new C/C++ IDE from JetBrains by donniezazen on Monday September 08, 2014 @10:41AM (#8284984)

    rpm -ivh jdk-<version>-linux-x64.rpm

    ~/.bashrc
    export JAVA_HOME=/usr/java/default/
    export PATH=$JAVA_HOME/bin:$PATH
Was that hard?
Re:CLion, the new C/C++ IDE from JetBrains by jo_ on Wednesday September 10, 2014 @11:45AM (#8297128)
I'm not sure what you're trying to refute. I was (am) saying that installing the JDK is really pleasant and painless. Installing the JRE is gross for the average Windows user because of all the bullshit that Oracle stuffs in there.
Re:CLion, the new C/C++ IDE from JetBrains by donniezazen on Wednesday September 10, 2014 @12:30PM (#8297375)
I think that is a common trend with Windows software. I haven't used Windows close to a decade now but I remember the atrocious malwares shipped in form of toolbars on Windows very clearly. And probably that is what forced me to move to a better development platform that Linux is.
Re:CLion, the new C/C++ IDE from JetBrains by reitanqild on Monday September 08, 2014 @11:39AM (#8285358)
It is not hard once you know. Finding out is one more thing. One more poorly documented thing at that I think.
Re:CLion, the new C/C++ IDE from JetBrains by donniezazen on Monday September 08, 2014 @11:41AM (#8285371)
Google is your friend. That is how I learned. I wasn't born with this knowledge.
Re:CLion, the new C/C++ IDE from JetBrains by 67726e on Monday September 08, 2014 @10:45AM (#8285016)
What about Windows?
Re:CLion, the new C/C++ IDE from JetBrains by papercrane on Monday September 08, 2014 @10:59AM (#8285109)
For Windows the JRE is bundled with all of the JetBrains products.
Re:CLion, the new C/C++ IDE from JetBrains by Sindisil on Monday September 08, 2014 @11:23AM (#8285256)
Really! Cool - I was not aware of that (only using them under Linux).
Re:CLion, the new C/C++ IDE from JetBrains by giancarlostoro on Monday September 08, 2014 @09:39AM (#8284620)
I don't hate Java. I hate the Java installer, and the update manager. I was hacked maybe a year or two ago browsing a normal website, it was Java. Java installs itself into your browser and makes you vulnerable to every web page you visit (edit: during an open window for exploitation in an outdated Java plugin). In reality, I now uninstall Java on my browser and to this day I have not been to a website that requires it, other than shady pop ups and shady websites.

There's also the update manager, I don't know why but Java feels the need to update every other day or week, and then on top of annoying you by prompting a UAC (yes I know I can disable these) they add a toolbar into every update / install process, sometimes you just miss those check boxes and then all of a sudden you have toolbar hell.

I love Java, I hate the installer and the updater. I also hate the JDK itself, it's a horrible mess, try switching to C# for a year, then go back to Java. You'll hate it. I still love the capabilities of Java, but it needs a overhaul on a lot of things.

Re:CLion, the new C/C++ IDE from JetBrains by aw3c2 on Monday September 08, 2014 @09:57AM (#8284714)
That's Windows specific, I understand the frustation and I am sorry you have to live with that. Every time I boot back into Windows I get harassed by updates and reboots. I don't miss it.
Re:CLion, the new C/C++ IDE from JetBrains by pjmlp on Monday September 08, 2014 @10:05AM (#8284749)
Funny, my Ubuntu box shows an update dialog almost every day.
Re:CLion, the new C/C++ IDE from JetBrains by nitrogen on Monday September 08, 2014 @10:49AM (#8285034)
The Ubuntu update dialog is unified and has zero risk of tricking less savvy users into installing spyware. I'm sure you've seen Windows machines with five different updaters popping up at boot, competing for attention (e.g. Flash, Java, Apple, MS Update, MS security alerts, etc.)
Re:CLion, the new C/C++ IDE from JetBrains by pjmlp on Monday September 08, 2014 @01:06PM (#8285865)
Your point was being harassed by updates.

As for spyware, oh it is so easy to convince Joe user to install it, even on UNIX systems. Social engineering makes wonders.

Re:CLion, the new C/C++ IDE from JetBrains by nitrogen on Tuesday September 09, 2014 @02:39AM (#8289012)
I'm actually not the one who made that comment. My mention of spyware was in reference to the Ask toolbar installed by the JRE on Windows. Installing such things is not a normal part of the Ubuntu update process.
Re:CLion, the new C/C++ IDE from JetBrains by pjmlp on Tuesday September 09, 2014 @03:10AM (#8289076)
Nor it is from JRE, if you bother to take it from the proper place.

http://www.oracle.com/technetwork/java/javase/downloads/inde...

Oh, I don't know, just bother to read what the dialog says.

Re:CLion, the new C/C++ IDE from JetBrains by nitrogen on Tuesday September 09, 2014 @10:52AM (#8290408)
The official JRE really does prompt to install the Ask toolbar. First Google result: http://www.quora.com/Java-programming-language/Why-does-Java...

I've mentioned elsewhere ( https://news.ycombinator.com/item?id=8285065 ) that I really don't mind Java, and FWIW I have liked the Jetbrains IDEs, but the consumer JRE installation and update process is really quite bothersome.

Re:CLion, the new C/C++ IDE from JetBrains by burstmode on Monday September 08, 2014 @08:58AM (#8284455)
Why so many people hate Java ? Let's start with the fact that it installs an auto-update system that tries everthing it can to trick you into installing adware (ask-bar).
Re:CLion, the new C/C++ IDE from JetBrains by MarkyC4 on Monday September 08, 2014 @09:58AM (#8284716)
in addition to aardvark179's tip of installing the JDK to not get the sponsor message, there's also a well hidden option in Java's Control Panel to prevent them from asking you to install the sponsor:

http://i.imgur.com/buSi4lx.png

Re:CLion, the new C/C++ IDE from JetBrains by AjithAntony on Monday September 08, 2014 @06:31PM (#8287684)
What version are you using? I don't have that option in 1.7.0_60
Re:CLion, the new C/C++ IDE from JetBrains by Aldo_MX on Wednesday September 10, 2014 @10:54AM (#8296825)
Thank you sir! You took a load off me.
Re:CLion, the new C/C++ IDE from JetBrains by eropple on Monday September 08, 2014 @09:28AM (#8284562)
This does not happen on either OS X or Linux. I'm reasonably sure it doesn't happen on Windows with the JDK, either.
Re:CLion, the new C/C++ IDE from JetBrains by aardvark179 on Monday September 08, 2014 @09:10AM (#8284496)
Install the JDK, no auto-update guff, and extra useful tools as well.
Re:CLion, the new C/C++ IDE from JetBrains by Sindisil on Monday September 08, 2014 @11:25AM (#8285272)
Or just install the JRE, but from the developer download site (same place you download the JDK).
Re:CLion, the new C/C++ IDE from JetBrains by epidemian on Monday September 08, 2014 @09:33AM (#8284594)
For me at least the main annoyance of using Java-based tools are issues like these: http://youtrack.jetbrains.com/issue/IDEA-57233 . Had to install a non-official patched JVM to get the fonts to look decent, when all the other applications on the system render fonts just fine.
Re:CLion, the new C/C++ IDE from JetBrains by shock on Monday September 08, 2014 @12:57PM (#8285819)
That's exactly the reason I don't use Jetbrains' products (font rendering looks like crap in them on Linux) and stick with Eclipse. I installed the non-official patched JVM to get the font rendering to look good but I'm not going to depend on a product that requires me to tweak the JVM just to make the product look good. My ability to tweak the JVM might go away at any point since I can only patch OpenJDK and Jetbrains recommends the Oracle JDK. Then what? Suck it up and look at the ugly fonts? No, thanks! I'd rather use apps that use SWT and render fonts natively. The couple of Swing apps I use are open source and if I'm sufficiently motivated to continue using them I can port them to SWT or find some other compromise. I wish more people would feel the same, then, maybe, Jetbrains would find a solution, but ,alas, it seems too few people care for Jetbrains to take notice.
Re:CLion, the new C/C++ IDE from JetBrains by dnesteruk on Monday September 08, 2014 @09:51AM (#8284690)
Regrettably, fact of the matter is that fonts look bad on Java, particularly on Windows where Java-enabled programs are unable (for whatever reason) to leverage ClearType and thus get the antialiasing done just right.
Re:CLion, the new C/C++ IDE from JetBrains by 67726e on Monday September 08, 2014 @09:41AM (#8284629)
To pick on Java is my point of contention. Every runtime has warts, If I did some digging I could find issues with any other environment. It just seems like folks pick on Java disproportionately. That might just be the HN echo chamber, but I don't see too many folks bitching about any other non-native runtime.
Re:CLion, the new C/C++ IDE from JetBrains by rayiner on Monday September 08, 2014 @10:09AM (#8284782)
Part of my problem with Java tools is that I'm always on a laptop, often running on battery, and it seems like every single Java-based program on OS X just sits around using 3-5% of the CPU even when idle.
Re:CLion, the new C/C++ IDE from JetBrains by burstmode on Monday September 08, 2014 @11:03AM (#8285132)
Well, that comes from the Garbage Collector, cleaning after all the programmers to lazy think about resource usage. But hey, never mention this when together with Java-developers, because saying something critical about garbage collection ist almost as bad as denying global warming.
Re:CLion, the new C/C++ IDE from JetBrains by harryh on Monday September 08, 2014 @12:59PM (#8285825)
Java programmers aren't too lazy to think about resource usage. They have just chosen to devote their intellectual resources to solving problems on a larger scale than memory management. This is a perfectly appropriate decision for a very large number of problem domains.

This is what good tools allow people to do.

Re:CLion, the new C/C++ IDE from JetBrains by eklavya on Monday September 08, 2014 @11:13AM (#8285186)
What? I may be wrong but I get a macho vibe from your comment. Men handle memory themselves.

Wise men choose the best tool and sometimes not having to bother too much about memory handling frees up a lot of mental bandwidth to deal with much bigger problems.

Re:CLion, the new C/C++ IDE from JetBrains by jre on Monday September 08, 2014 @08:51AM (#8284432)
A lot of early days Java apps built with Swing were slow and ugly. I think that's where a lot of the "java is slow" stories come from.

Of course, Jetbrains' products are a proof that you can use Java to build modern apps that are pretty good.

Re:CLion, the new C/C++ IDE from JetBrains by pjmlp on Monday September 08, 2014 @09:00AM (#8284461)
> A lot of early days Java apps built with Swing were slow and ugly.

Specially because most developers couldn't bother to write proper Swing code, or reading blogs like "Filthy rich clients".

Re:CLion, the new C/C++ IDE from JetBrains by nitrogen on Monday September 08, 2014 @10:53AM (#8285065)
Indeed, one of my proudest projects was written with Swing using a better LAF and custom widgets. I'm primarily a web developer at present, prefer Ruby or C over Java, and would rather build GUIs in Qt, but I don't mind Swing.
Re:CLion, the new C/C++ IDE from JetBrains by jbverschoor on Monday September 08, 2014 @12:21PM (#8285617)
Actually the jetbrains UI is pretty bad on osx.
Re:CLion, the new C/C++ IDE from JetBrains by rsynnott on Monday September 08, 2014 @02:21PM (#8286320)
The JRE is a really bad citizen on Windows, I gather. At least at some point, it actually shipped with toolbars! MacOS and Linux users don't have to deal with this.
Re:CLion, the new C/C++ IDE from JetBrains by jheriko on Monday September 08, 2014 @11:38AM (#8285352)
i don't hate it but i understand that it adds one too many steps.

my code works on every platform actually out of the box. no installs necessary. i consider that important so i just can't use JVM in general unless i sacrifice that...

i usually get disbelief until it is seen, but all of my large non trivial projects build out of the box in one step and run with one click. i really value that.

that being said, all my android projects use a JVM in the end. :)

Re:CLion, the new C/C++ IDE from JetBrains by gchp on Monday September 08, 2014 @09:19AM (#8284537)
I don't hate Java. I have no experience in using it as a language, so I'm not qualified to comment in that regard. My point is that I would rather not have to install it simply to use this tool.

Its like having to install Ruby simply because these a single Gem that you want to install and there is no other way to go about it, even if you never use Ruby for any other purpose. More of an annoyance than anything else.

Re:CLion, the new C/C++ IDE from JetBrains by sbarre on Monday September 08, 2014 @09:29AM (#8284569)
Think of it this way: If there weren't licensing issues, they would probably just package it into the IDE distro, and you'd still be "installing" it on your system, you just wouldn't know about it..

:-)

Re:CLion, the new C/C++ IDE from JetBrains by markokrajnc on Monday September 08, 2014 @08:49AM (#8284428)
You can't understand this. It is emotional... ;-)
Re:CLion, the new C/C++ IDE from JetBrains by chii on Monday September 08, 2014 @07:42AM (#8284248)
i dont think you need to install java to run the ide - it comes with a compatible version of the Java Runtime. You need to install java if you want to work on java projects.
Re:CLion, the new C/C++ IDE from JetBrains by masklinn on Monday September 08, 2014 @07:45AM (#8284258)
Depends on the platform. "What do I need to start with CLion?" lists "Installed Java is required, Apple JDK 1.6.0_65+ is recommended" for OSX and "Oracle JDK/OpenJDK 1.7.0_51 is required" for Linux.

Only Windows bundles its own JVM, same as other non-IJ IDEs.

Re:CLion, the new C/C++ IDE from JetBrains by gchp on Monday September 08, 2014 @07:57AM (#8284285)
Yep, I had to install OpenJDK. Haven't tried installing on anything other than Linux, though.
Re:CLion, the new C/C++ IDE from JetBrains by sitkack on Monday September 08, 2014 @04:33PM (#8287062)
Thanks for making a 41 comment branch that is about your in ability to put up with install _pain_. Totally not constructive for discussing the article.