Slashdot Mirror


Netbeans 6 Dual-Licensed Under GPLv2, CDDL

Lally Singh writes "Interested in the new Netbeans 6, but didn't trust Sun's (already OSI-approved) CDDL? Sun just Dual-Licensed it under the GPL (v2) with Classpath Exception. Keep your karmic license purity and mix in all the (now compatible) GPL code you want. If you've been using Eclipse, Netbeans 6 is really worth a look. Lean, well-featured, and fast."

41 of 239 comments (clear)

  1. Tried it by Anonymous Coward · · Score: 2, Interesting

    I've tried it, but it still runs like ass. It's sad that a great platform like Java has such a bad rep because of one toolkit (Swing).

    I'm developing an app in Java, using the JOGL opengl bindings and it performs fantastically. Netbeans, on the other hand, runs like I have it on a 486, not a quad core Q6600 Intel processor.

    I don't know how people compare Netbeans to Eclipse, actually feels native (because it IS native) and runs snappy as hell. Not only that, but Eclipse is great for python, javascript, c/c++ and many, many other non-java technologies.

    1. Re:Tried it by Lally+Singh · · Score: 2, Interesting

      This was NS 6? Both it and Eclipse take a bit to start up (A 2GB Macbook Pro), but NB doesn't lag as badly as Eclipse when I use it.

      I've been using Eclipse for some time, but it's been getting on my nerves with speed/crash-happiness/bugginess. NB's treating me better these days.

      OTOH, maybe Eclipse is *really* focusing on the Win32 experience, and the Mac experience is just crappy?

      --
      Care about electronic freedom? Consider donating to the EFF!
    2. Re:Tried it by jma05 · · Score: 3, Interesting

      > runs like I have it on a 486, not a quad core Q6600 Intel processor.

      While Netbeans is not winning any performance awards, its performance is quite acceptable. I upgraded my processor only because I was unhappy with Netbeans performance. But mine should still be 3 times slower than a Q6600 and I think the performance is OK now. Perhaps there is something wrong with your VM memory settings or such?

      > I don't know how people compare Netbeans to Eclipse, actually feels native (because it IS native) and runs snappy as hell.

      The primary reason is that Netbeans has better out of the box support for Java standard frameworks. Swing and J2EE tools are still ahead of Eclipse offerings. If you can, use both. But if you are using a code only app such as your JOGL project, Netbeans does not offer a whole lot.

      > Not only that, but Eclipse is great for python, javascript, c/c++ and many, many other non-java technologies.

      Netbeans is catching up with all that and exposes a rich client framework just like Eclipse.

    3. Re:Tried it by try_anything · · Score: 2, Interesting

      I'm using Eclipse to develop an RCP app. The Eclipse platform provides a lot of functionality to build on, and aside from a slow start-up, it doesn't cause any sluggishness or instability in my app.

      The Eclipse IDE, on the other hand, is infuriating. I have currently have workspaces named 2007-10-04, 2007-10-11, 2007-10-19, 2007-10-21, and 2007-10-25 because that's how often Eclipse irretrievably corrupts my workspaces. I've become so used to it that instead of deleting and replacing the corrupted workspace, I just create a new one and periodically delete all the corrupted ones.

      Not to mention the constant out-of-memory and PermGen errors. I bumped up the startup values for memory and permgen, but I still have to restart Eclipse every couple of days.

      Still, using the Eclipse IDE is an acceptable sacrifice to be able to program on the Eclipse platform and take advantage of its amenities. Next time I start a new project of this kind, I may try NetBeans (just to see if the grass is greener,) but I probably wouldn't consider writing a Java GUI app from scratch. I would write it on top of the Eclipse platform or something similar. It's worth it to get things like application update functionality for minimal work.

    4. Re:Tried it by siddesu · · Score: 2, Informative

      around 25-30 seconds on a mobile pentium @ 1.5GHz (and 1GB RAM).
      why?

    5. Re:Tried it by Lally+Singh · · Score: 4, Interesting

      NB's ability to use your normal build system (ant or maven) as it's project file is what sold me. Oh, and I don't have to have this directory structure anymore:

      eclipse
      - 3.3
        - 1
        - 2
        - 3

      Where each one is an installed copy of eclipse, and the lower numbered ones are copies that have fried themselves.

      *And* a decent profiler built in :-)

      --
      Care about electronic freedom? Consider donating to the EFF!
    6. Re:Tried it by greg1104 · · Score: 4, Interesting

      OTOH, maybe Eclipse is *really* focusing on the Win32 experience, and the Mac experience is just crappy?

      It runs fine on both Win32 and Linux, but yes the Mac experience is crappy. Apple likes to brag about their Java support, but the OS X support for the SWT features needed to fully support Eclipse is spotty. Check out how long the infamous SWT_AWT not implemented bug took for them to resolve. That was a showstopper for a variety of Eclipse plug-ins, and it was open from 6/15/2004 to 4/20/2006. Things are better now, but there's still a subset of SWT_AWT not implemented that breaks some tools, like parts of the fairly popular MyEclipse: see SWT_AWT.new_Shell() unimplemented for that dreary mess, which well over a year old now.

      While these specific bugs are unlikely to be the sources of your crashes etc., every time I read up on the state of Eclipse+Mac OS X I find myself distrusting that combination; the base platform seems unstable, and as you can see from these two the bugs that are found can sit for years before being fixed. Recent moves from Apple like pulling Java 6 from Leopard aren't comforting either.

    7. Re:Tried it by AdamInParadise · · Score: 2, Interesting

      I've been using Eclipse for thousands of hours, all the way back to Eclipse 2.0. I've never seen Eclipse corrupt its workspace. However, I've seen lots of badly-written plugins that do manage to mangle their own configuration files.

      Are you sure that your issues at coming from Eclipse?

      --
      Nobox: Only simple products.
    8. Re:Tried it by bauerbob · · Score: 2, Informative

      Take a look into $NETBEANS_DIRECTORY/etc/netbeans.conf and raise the memory settings by factor 3 or 4. The default settings are much too conservative for your computer.

    9. Re:Tried it by CastrTroy · · Score: 3, Informative

      But see, that's what happens when your IDE doesn't include any features, and actually requires plug-ins for some basic tasks. A few years ago, I tried to used Eclipse to do up a quick little Java app with a GUI. Apparently, at the time, you could either hand code your GUI or install some buggy plugin that did the job OK, but not quite that well. Or if you used Netbeans, then the drag-and-drop GUI designer was included as a core part of the IDE. IDEs as far as I'm concerned need a lot of functionality, because of their purpose. If their purpose was just typing code, then we could all just settle for notepad, but those who have used a good IDE know that they are so much more than that. So they should include a lot of features as core components that are well tested and well supported, because relying on third party plugins for things that should be core components leads to a very unstable program.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    10. Re:Tried it by Bert64 · · Score: 2, Funny

      Wow aren't Apple behind the curve, Microsoft deprecated Java back in 2001 with XP!

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    11. Re:Tried it by sequentially · · Score: 2, Interesting

      The timing of this article is ironic...I just tried Eclipse (and RH Dev Studio and JBoss IDE both Eclipse based) and NetBeans 5.5.1 this weekend. A few years back I considered myself a pretty good Java developer but then I switched to a new contract and had to learn MS .NET and C# (don't hold that agaisnt me please). This weekend I decided to dive back in to Java and thought that an IDE might be nice to try (previously I used VIM with CTAGS which was fast and all I needed at the time). At first, I tried Eclipse directly and must say that I wasn't so fond of its performance....if not slow then at least it is not fast, it has a billion menus and no intuitive way to find what you need (XDoclet sucks unless you are very familiar with it and all its options). Then on a whim I decided to try NetBeans 5.5.1. That tool is great (IMHO)! It is faster than Eclipse on my machine, has a layout that makes sense to me, and has a bunch of good getting started guides that really help you to learn the IDE (and for me to get me going with Java again since it's been a few years).

  2. Re:Dual license? by 4D6963 · · Score: 2, Informative

    Err, nevermind, the answer's in TFA (people choose the license they want) :-/

    --
    You just got troll'd!
  3. Re:Dual license? by eht · · Score: 5, Informative

    If it's your code you can license it however you want, for example MySQL is dual licensed under both the GPL and a Commercial license. Anyone can download the GPL version make their modifications and as long as they follow the GPL redistribute according to the GPl, or if they license the commercial version for a fee from MySQL AB they can basically release a closed source version all closed up.

    If you were to dual license your code under the GPL and BSD people who wanted to redistribute modified code could follow either one they wanted, with BSD being one of the avaible choices they could close it up a lot if they so desired.

  4. Re:Dual license? by NevarMore · · Score: 3, Informative

    In your example, the code derived from it has to be compatible with the GPL license OR the BSD license. Once code is licensed under one or the other its usually hard to go back, but one has to make a choice up front about it.

    For example I can take some code I write and release it under GPL and my own for pay license. If someone pays for a copy they and I have to abide by my paid-license, if someone downloads it then they can do things with it as allowed by the GPL. This allows me to be flexible and support the needs of buisnesses (and pay my bills) while still supporting the community.

  5. Re:Only matters for Netbeans mods and add-ons, rig by bazald · · Score: 2, Informative

    Right, NetBeans, like GCC, never imposed any license restrictions on the code generated.

    --
    Insert self-referential sig here.
  6. GUI Builder by rpp3po · · Score: 4, Informative

    Netbeans is very stable and mature platform. There's nothing to bitch about. Eclipse on the other hand offers much more comfort concerning plain editing and refactoring tasks. Additionally it is part of a much more attractive ecosystem.

    Still there is one thing where Netbeans beats every other Java IDE easily: The matisse GUI builder is really fun to work with! For Java there's nothing even close. And for that alone Netbeans has a very well founded raison d'être. If it's GPL now, lets wait and see how long it takes for Eclipse to absorb that great tool. There's already a commercial port for MyEclipse, but it's not free or usable on vanilla Eclipse, yet.

    1. Re:GUI Builder by atehrani · · Score: 2, Informative

      Not to mention UML (two way), Profiling, Visual Web development, complete JEE support. What comes "out of the box" with Netbeans is impressive. I also find Netbeans far more intuitive than Eclipse (I never liked their perspective concept). Startup can be a bit sluggish, but that's really not a deal breaker. People should honestly try it out; profiling is wonderful! Helps you find your bottlenecks and those pesky resource leaks. For FREE!

  7. Re:Dual license? by 4D6963 · · Score: 2, Insightful

    In this case, instead of forking, couldn't you just put certain parts of your code under the GPL license, and put the parts of the code you want to let companies use and close under the BSD license?

    --
    You just got troll'd!
  8. it's the best Ruby IDE there is by crayz · · Score: 3, Interesting

    The Netbeans 6 dev/beta releases have been quickly becoming the best Ruby/Rails IDE, bar none. Used to be Eclipse/RadRails for Windows/Linux, and Textmate for Mac. Netbeans has completely blown Eclipse out of the water for Ruby development as Aptana+RadRails has stagnated. Textmate isn't really an IDE to begin with, it's quite a unique and useful text editor. But the pace and quality of Netbeans Ruby support would be very tough to match, so even many hardcore Textmate Mac users have switched to Netbeans

    Along with JRuby and Glassfish Rails, Netbeans is proving that Sun is dead serious about being the best Ruby game in town. They've got competitors in all three areas, but they are quickly becoming a major force in the Ruby community

  9. To quote John Carmack by boyter · · Score: 4, Insightful

    "When text editing is less then instant on a 3ghz machine you know something is very very wrong..."

    1. Re:To quote John Carmack by eviltypeguy · · Score: 4, Insightful

      If it was just text editing and not code hinting, folding, anti-aliasing, line counting, syntax checking, and a bunch of other things all at the same time -- I might agree with that. However, in this case, I think you're misusing John's quote.

    2. Re:To quote John Carmack by DMUTPeregrine · · Score: 2, Insightful

      I'm pretty sure I can do all that in EMACS, and that isn't slow (anymore.) So if it is slow, there is a problem.

      --
      Not a sentence!
  10. Re:Sun isn't committed to GPL by nuzak · · Score: 3, Insightful

    Yeah I know it just sucks that Sun gives away millions of man-hours under the GPL but not every single last line of code they ever wrote. I mean who the hell do they think you are by not dedicating every resource they have to the service of free software instead of themselves?

    --
    Done with slashdot, done with nerds, getting a life.
  11. Re:Sun isn't committed to GPL by bladesjester · · Score: 4, Interesting

    As nice as Sun makes it sound, they really aren't fully committed to the GPL. They only seem to use the GPL when it suits them

    A company using a license only when it makes sense to do so? How terrible!

    If Sun was truly committed to free software, they would use the GPL on everything because in a true free software space it doesn't matter if your customers mix-and-match the pieces

    Let's get real here, folks. Making some of your software available as open source does not mean that you should have to make *everything* you create open source. I certainly don't. Some things are open source (all of the ones on my site at the moment are GPLv2 because I loathe the moral crusade the fanatic otherwise known as RMS is trying to get the world to join in with v3); some things are commercial.

    I get so sick and tired of the GPL fanboys who think that everything else is evil. The people who own the code get to decide what they want to do with it, not you. Deal with it.

    If they want to give it away, be happy that you got something new to use or play with. If they want to sell it, either buy it or don't, but for the love of everything decent, stop bitching about the fact that not everything is released under your favorite license.

    I've known a lot of developers that have stopped writing open source software because they got sick and tired of dealing with the fact that no matter what they released, people bitched at them because it wasn't "free enough" or because not *ALL* of their software was open source.

    The whole of the world doesn't want to be Stallman followers and, to be honest, I view that as a very very good thing because the man is off his rocker.

    --
    Everything I need to know I learned by killing smart people and eating their brains.
  12. Careful there. . . by ookabooka · · Score: 5, Funny

    If you've been using Eclipse, Netbeans 6 is really worth a look.

    Also, if you've been using emacs, vim is worth a look. Vim is lean, well-featured, and fast.
    --
    If you are about to mod me down, keep in mind that this post was most likely sarcastic.
  13. Re:Dual license? by Morkano · · Score: 4, Informative

    You can licence your code however you want, but if you make it conditional like that you could very easily make it incompatible with the licences they're based on, or open up loop holes, or make it not hold up in court or whatever.

    The way they do it for MySQL and others is when you get it, only one licence applies. You choose which one you want to apply, but the choice of the commercial licence means you have to give them money. They're just giving you the ability to sell a product and keep the source closed if you're willing to pay for it.

    --
    Victory or awesome!
  14. Re:Only matters for Netbeans mods and add-ons, rig by _merlin · · Score: 3, Informative

    Visual Basic (pre .NET) and RealBasic place restrictions on the generated code, because the distribution terms have to be compatible with the distribution terms on the runtime engine that the executables will require.

  15. Re:In Iran by Macrat · · Score: 3, Informative

    Sun's policy?

    Sun is a US company and by US law, Sun is not allowed to export to restricted countries.

  16. Re:differences? by Spikeles · · Score: 2, Informative

    Personally my editor for everything textual is Vim
    Then you would love this and this
    --
    I don't need to test my programs.. I have an error correcting modem.
  17. They wouldn't even for a single license by Anonymous Coward · · Score: 2, Informative

    The GPL is not "viral". You can use it with non-GPLed code (and it doesn't change the
    license on that code) as long as that code doesn't have any restrictions which aren't
    in the GPL. The "viral"ness of the GPL is that you can't redistribute it under any other
    terms -- including if you make derivative works and distribute those.

    The FSF also takes an expansive view toward derivative works of their own software, so
    that a program linked with their code, but not otherwise including it, would create a new
    work covered by the GPL. The non-GPLed component would still be non-GPL if distributed
    by itself. This is why some of their software, like glibc, is under the LGPL.

  18. Re:Only matters for Netbeans mods and add-ons, rig by AuMatar · · Score: 2, Interesting

    At one time, Visual Studio licenses said you couldn't use them to write a competing compiler. No idea if that has been removed or not.

    --
    I still have more fans than freaks. WTF is wrong with you people?
  19. wasting office hours by tventiethfret · · Score: 2, Insightful

    I've never used a java IDE. I know nothing about software licences. I dont know why i just went through all the comments on this page. :(

  20. Netbeans vs. Eclipse...again by epistemiclife · · Score: 2, Interesting

    I think that this argument is pointless. I've used both Eclipse and Netbeans extensively for Java and C++. Now I use Netbeans, because I think that it's more pleasant to use, and it has features which appeal to me personally. However, some people like Eclipse, and that's fine. Eclipse's high customizability (lack of structure) annoys me. Some complain that Netbeans is "slow," but it really isn't. Yes, it takes about .1 seconds for the context-sensitive code-completion to pop up, but I frankly don't know any people who code faster than their IDE. If that is the case, then the code isn't very complex and such people probably don't need any IDE at all. Neither Netbeans nor Eclipse can reasonably be considered "lean," but neither are they the clunkers that some would have people believe. Those people probably haven't used it in 6 years. Both computers and Java have gotten faster since then.

  21. Re:Go Competition by MemoryDragon · · Score: 2, Interesting

    Depends on where your main focus is, Netbeans 6 is really exciting full ruby/rails tooling within the ide, the visual webpack simply is fantastic for small webapps and the integrated jpa support also is not too shabby. I have been using MyEclipse for years, but Netbeans slowly with every release becomes more and more a strong competitor to the Eclipse area, also mainly due to the fact that if you want something decent in eclipse you have to pay, and even then you run into the myriads of bugs the WTP is. WTP has hurt Eclipse more than anything else, and if they cannot get their act together qualitywise, Eclipse one day will be dead in the JEE area. For now it still has the credits of the incremental compilation and excellent refactoring, but if you are forced to use the WTP run as fast as you can.

  22. Re:differences? by MemoryDragon · · Score: 2, Informative

    It depends on the toolchain, bare eclipse is best you can get for java editing second to none. (Well Intellij is also very good but that is a different league) but if you are forced to use the WTP, then Eclipse becomes a major pain. An example, a colleque of mine was using Eclipse he had to move up to Eclipse 3.3. I recommended Europa to him because he was using parts of the toolchain anyway, after Eclipse suddenly refused to given him code insight, he reverted back. Problems like this are myriad with the WTP and if I was forced to use it, I probably would have given up on Eclipse a long while ago. Fortunately there are bearable other options in the Eclipse world, if you want to shell out some money.

  23. Re:Dual license? by AVee · · Score: 3, Informative

    As said above, you can perfectly do that (within the limits of the law), if it's your code, you get to set the terms. However, such a scenario is not dual-licensing, it's creting a wholly new license (which happens to be based on two other licenses). That very different from dual-licensing where the recieving party get to choose between the licenses. It also is likely very to create a license which is incompatible with both the licenses it is based on.

  24. Why Netbeans vs Eclipse? by el_chupanegre · · Score: 4, Interesting

    I don't seem to get why anyone needs to pick one or the other.

    Personally, for the last 3 years I've been using Eclipse 3.x and Netbeans 5.x. I can see the benefits of each, and each annoys me in it's own seperate ways.

    For example, in Eclipse, why can't I add an external folder to the classpath without stupid variables? Why only a jar? In Netbeans there isn't a distinction.

    To me though, Netbeans just feels alot clunkier. Once I have everything set up in Eclipse, I'm definitely more productive, with one caveat. The GUI builder in Netbeans is fantastic, it really is. Nothing free that the Eclipse world offers even comes close to competing with it. I usually do most code in Eclipse, make the GUI in Netbeans and import that into Eclipse.

    So I say, why pick one over the other? You need more than one tool to build a house, why not use as many as you like to build your software?

  25. citation required {{fact}} by Burb · · Score: 2, Interesting

    I'd like to see proof of that one way or the other. There was a lot of discussion in the early days of Mono and Portable.NET about whether it would be problematic to write a C# compiler in C# because it would need the MS compiler to bootstrap. Furthermore, you'd need to distinuish between Microsoft's compiler and runtime (free as in beer) and Visual Studio (mine's a pint). Without being rude to the original post, this seems like it originated in FUD. I have no vested interest, I'm just asking.

    --

  26. new Netbeans 6 beta 2 has great Ruby support by MarkWatson · · Score: 3, Informative

    I used to do most of my Ruby and Ruby on Rails coding using TextMate but I have switched to using NetBeans. Beta 2 understands Ruby code well enough for (mostly) meaningful code completions and having popup documentation for the standard classes is useful. The integration of the "fast debugger" is also handy. Rails support is also very good. I usually use native (Matz C) Ruby, but NetBeans supports JRuby also. BTW, I used to use Common Lisp, Ruby, and Java about equally in my work, but recently I have been living with the Ruby performance hit and I am starting to use Ruby for just about everything that I do.

  27. Re:GPL v2 and v3 are identical in intent by stinerman · · Score: 2, Insightful

    This is coming from someone who is actually an advocate of open source and has been a voice for it.
    Then there is no doubt that you wouldn't get along with Stallman. Stallman doesn't do "open source"; he does "free software". Open source emphasizes the business and practical aspects of being able to see, reuse, and redistribute code. Free software is about ethics.

    RMS has a nice quote relating open source and free software:

    "The GNU GPL makes sense in terms of its purpose: freedom and social solidarity. Trying to understand it in terms of the goals and values of open source is like trying understand a CD drive's retractable drawer as a cupholder. You can use it for that, but that is not what it was designed for."

    By accident, GPLv2 ended up being a popular license for open source projects. It was meant to be as ideologically driven, crazy, etc. as GPLv3 was. RMS didn't foresee some ways to break the spirit of GPLv2, so he revised it and made it GPLv3. Had he been aware of Tivoization or patent covenants in the early 90s, you can bet that GPLv2 would have had similar clauses as does GPLv3. Essentially, he hasn't become more ideological, he's just lacked the words by which to express his ideology until now.