How well do Eclipse and Netbeans coexist?

I would like to have both Eclipse and Netbeans (with JUnit) installed on one system, so I can be somewhat familiar with both.

Besides GUI development (see "Using both Eclipse and Netbeans"), are there any other issues with using both IDEs on the same system, or even the same project?


Asked by: Lana604 | Posted: 21-01-2022






Answer 1

We regularly use both Netbeans and Eclipse. We switch back and forth, between Vista, WinXP, and multiple versions of Fedora of the 32- and 64-bit variety, with no problems. Keeping the project files in version control makes keeping them in sync much easier. We even keep the launch files in the project directory as well. I posted a answer to another multiple IDEs question that describes what our project directory looks like.

Basically, I agree with Bill the Lizard about there being no issues, but disagree about the seamless nature and keeping the project files separate. The only thing we have to do is make sure that we update the build classpath in each project if a new library is added because Netbeans and Eclipse use different files to describe the classpath.

Using the IDE version control system integrations helps to encourage keeping the projects up to date for everyone else.

Answered by: Kimberly988 | Posted: 22-02-2022



Answer 2

One thing that makes developing single project in NetBeans and Eclipse is using maven to keep dependencies together. Maven will generate IDE specific files that contain all classpath information, buildpaths etc.

Maven has pretty steep learning curve, but it is worth learning.

Answered by: Brianna533 | Posted: 22-02-2022



Answer 3

There are no issues at all with having them on the same system. However, each have their own project specific files, so using them on the same project isn't seamless. This is made a lot easier if you're using source control and keep your (non-source code) project files separate.

Answered by: Aida798 | Posted: 22-02-2022



Answer 4

Maven is a very good way to keep both IDEs in sync (as suggested). In my experience though, you have to create an Ant build for any given project for the sake of developers not using IDEs. Since NetBeans's build system is based on Ant, it's pretty trivial to just base the entire NetBeans project off of that base build system. A little bit of tweaking in the project.xml ensures that the editor classpath is kept in sync with the Ant build classpath.

Answered by: Blake583 | Posted: 22-02-2022



Answer 5

Netbeans 6.5 has an improved Eclipse project import which is supposed to sync changes from Netbeans back to Eclipse: http://wiki.netbeans.org/NewAndNoteWorthyNB65#section-NewAndNoteWorthyNB65-EclipseProjectImportAndSynchronization

Answered by: Joyce429 | Posted: 22-02-2022



Similar questions

java - Am I right to choose NetBeans over Eclipse?


java - will netbeans or eclipse install mysql for me as a plugin?

will netbeans or eclipse install mysql for me as a plugin? (preferrably netbeans) (on a windows machine)


java - if I open my spring app in eclipse and netbeans, will they both create their own files?

If I open my application in both eclipse and netbeans (having created the file layout using maven), will both eclipse and netbeans create their own project file? I know netbeans has an option of opening an existing project, but not sure if it will add files to my project?


java - Eclipse vs Netbeans Web Service Tooling

Some time ago (~4-5months ago) I attented a lecture about Java EE and at some point the lecturer started talking about webservices and how hard it is to create a good one because all the IDEs make them in a bit different way (or something like that) and that in general it's better to use Netbeans to create them as Eclipse has some issues, the thing is he didn't really say why Eclipse is bad. Now I'm wondering is what he sa...


java - Is there an option in eclipse like "view servlet" in netbeans for jsp files?

If you work in netbeans you pretty much know the context menu entry "view servlet" on an jsp file. What it does is show you the generated servlet java code from the jsp. Is there something similar in eclipse?


For Java, which one is more useful Netbeans or Eclipse?


java - Why do the outputs differ when I run this code using NetBeans 6.8 and Eclipse?

This question already has an answer here:


java - Why do the outputs differ when I run this code using NetBeans 6.8 and Eclipse?

When I am running the following code using Eclipse and NetBeans 6.8. I want to see the available COM ports on my computer. When running in Eclipse it is returning me all available COM ports but when running it in NetBeans, it does not seem to find any ports .. public static void test(){ Enumeration lists=CommPortIdentifier.getPortIdentifiers(); System.out.println(lists.hasMoreElements()); while...


eclipse - Run Java webapp under Netbeans with tomcat 5.5 and Java 1.5

I wass wondering why I can't setup an enviroment with Netbeans 6.9.1 in combination with Tomcat 5.5 and Java 1.5. I can only choose for Java 1.4. Is this a restriction of Netbeans? In the past this web application has run under Myeclipse tomcat 5.5 and Java 1.5. But because of the huge memory issues of myeclipse I want to try...


Netbeans 7 vs Eclipse 3.6 for Java, git and vim


java - Sharing source between two Netbeans projects

I have an existing Java project in Netbeans (a JSF web application). I'd like to experiment with GWT in a separate project - put pull in source from the original project. Is there any way to share source between two Netbeans projects. When I attempt to add the source directory from the original project into the new the IDE complains that the source is already part of another project.


java - How do you add files to a jar using Netbeans 6.5?

I am working on a Java project using Netbeans for the first time. I would like to use Netbeans 6.5 to create a jar including about 50 text files. Is there a simple way to do this?


Groovy, Netbeans and Java EE

I want to develop a web application (no frameworks) mixing java with groovy. I am using the IDE Netbeans with the plugin. If I start a new Java SE project and add a groovy class, it works with no problems.. but when I create a new java EE project and add a groovy class it can't compile and shows me the following error: /home/webcodei/NetBeansProjects/testeGroovyWeb/src/java/pacote/Hello.java:23: can...


netbeans - How to cache a WSDL with Java-WS

I've created an app that interacts with a SOAP service using java WS. I generate classes and manage the WSDL using the built in netbeans functions. Every time I run the application, it has to download the WSDL and parse it again. The WSDL is frozen at each version so I don't think this is necessary. I've tried to reference it as a local file, but then my app complains it can't find the file when it's installed o...


java - Build JavaFX project without NetBeans

I'm trying to learn JavaFX and maybe create a few "learner" games. I always do my development in Eclipse, rather than NetBeans which the JavaFX team is clearly trying to push. Can anybody point me in the direction of a how-to for building a JavaFX project in Eclipse, or at least building a JavaFX project without NetBeans? Everyth...


netbeans - Cross Platform Button Ordering in Java and Swing

I'm creating a cross platform application using Swing and Netbeans (Group Layout). Is there a trick I am missing to help develop dialogs with say OK, Cancel buttons in the correct order for different platforms - specifically Windows (OK-Cancel) and Mac (Cancel-OK), rather like the JOptionPane does? I can derive my own class from JDialog with two buttons on it, and swap text and actions around - I...


Java bean event in netbeans 6.1

I'm having a JPanel bean which inside has two JToggle buttons.I compile and add this bean to the netbeans palette and then i add it to a frame.Then i right click the bean and from events i choose a mouse event let's say 'release'.This event corresponds to the JPanel and NOT in the two buttons inside.Thus i cannot catch mouse events coming from the JToggle buttons.How can i catch these events? I hope it's a clear question T...


java - Where can I set the JRE/JDK which is used to run Netbeans besides the command line?

First of all, I know about the command line parameter, but I don't want to use it because I want to learn, not just get it done, so... Where can I set the JRE/JDK which is used to run Netbeans? A little background: I installed JDK 1.6_10 (The system is Windows Vista Business 64) I installed Netbeans 6.5 After a few weeks I uninstalled Netbeans 6.5 (some probl...


java - Netbeans and .NET web services

I'm not an experienced java developer so any comment will be welcomed ... I've written a web service using c# and I wanted to consume this service from java - used Netbeans for this task. All methods works well beside one: the method expecting a type called BusinessDataField2 - this type contains 2 fields: name(string) and value(object) Those fields are filled using get,set methods - this works easi...


java - How to run a NetBeans project in command prompt?

My professor asked us to create a Java program that would be able to run in command prompt but could also be opened using NetBeans. The program is about using the different types of sorting (specifically Selection, Insertion, Exchange, Quick, and Heap sorting). our professor specifically told us to use object oriented programming in Java, and that she wants to see a main class plus the different classes that would ...






Still can't find your answer? Check out these amazing Java communities for help...



Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)



top