Netbeans versus Eclipse for JNI

We have a significant about of code to rehost on solaris 8, from xview, to new java guis interfacing legacy C code. Current develpment environment is vi and make. We want to evolve to Junit, Ant, CVS and eand IDE either Netbeans or Eclipse (maybe JbuilderX). Have used both for java but never for JNI. Now exploring Eclipse. Can anyone lead us to a forum on Netbeans versus Eclipse for this type of effort?

Hi Ivar, thanks for your reply.
Actually both Netbeans and Eclipse provide a C/C++ plug-in, so you can develop the C side as well. I'm using it in Eclipse. There is a C Ant task also, so you can build the C and Java together. (Ideally, we want to be able to step, in the source level debugger, from the java into the C native method, but I don't believe that has been worked out in any IDE.) I am working with Eclipse now, and you can edit java in the java perspective, click a C file, and automatically switch to the C perspective. That seems to work pretty well. On the other hand, Netbeans is a Sun sponsored project, and we are on Solaris, so maybe Netbeans has some platform dependent goodies that might tip the balance.
You and I both know that while a tool may have a capability, that does not mean it does the job well. Somebody else must be doing the same thing that I am, so I'm looking to learn from the experience of others who are farther into the process. Maybe I can avoid having to get deeply into one tool, only to find I should have used another.

Similar Messages

  • General Eclipse Question (Not a NetBeans vs Eclipse Thread!)

    I am going to play around with Vaadin, and I am going to use Eclipse and the Vaadin plugin for this play.
    In reading the Book of Vaadin, the author actually recommend downloading Eclipse, unZIPping it, and running it from that unZIPped archive instead of "installing" it. The author mentions more control and less aggravation in the long run.
    Now, I don't use Eclipse much at all (I use NetBeans usually). What I have done in the past with BOTH NetBeans and Eclipse is:
    1) Install from repo, run as my account for work, run as root to do updates and install plugins.
    2) Install from repo, run as my account for work AND plugin installs/updates.
    I prefer #2 as it's less of an issue to just "blow away" all the plugins and start again if I need to.
    My bottom-line question is: "Does running Eclipse from my 'local' /home/xxx without actually 'installing' it really make that much difference compared to #2 above?"
    I'm hoping someone that has more experience with this can render an opinion. Also, if any of you have experience with Vaadin, do you have any tips for a noob?!?

    One consideration with running Eclipse from a local unzipped install is being able to create multiple instances, with a different mix plugins. I keep three core versions going for Java, Python, and Android development. I've found some plugins do not always play well with others in Eclipse. At least that was my experience with Ganymede and Helios. My Java instance is loaded up with a bunch of enterprise junk, like JBoss Drools and Spring plugins, so it can sometimes get bogged down at start up when connecting to remote resources over VPN.
    I've found that limiting the number of plugins I keep in any instance I use is helpful in keeping it stable. Note that you'll also need separate workspaces for each instance. Also, to keep your sanity, tarball a backup before installing or updating any plugins. Probably not for everyone, but it works for me.

  • NetBeans or Eclipse

    Hi All,
    Sorry for my English.....
    I want to write a Java application program that interacts with the user via GUI components and will have graphics (2D and maybe 3D - with Java3D of course) and maybe samll database. I wonder what is the best
    and robust environment for Java application programming - NetBeans or Eclipse?
    Thank you in advance

    This type of question is asked daily on here and the answer is always the same.
    If you already know NetBeans then stick with NetBeans. If you know Eclipse then use Eclipse. If you know not much about either then use the one whose name you like better. If all else fails throw darts at a board with their names on it and see which one wins.

  • Netbeans Vs Eclipse .which one is best ?

    hello,
    My project work related to SNMP protocol. In my project I need to get and set data in a remote wireless device. for this , I want to know which one IDE (netbeans or eclipse) shall i use for my project.
    now I am working in netbeans. but, the problem is it may strucking up some times and it takes some time while getting data and also at that time it struck.
    If any one use the both IDEs, give your suggestions.
    thank you.

    I use netbeans at work, I am currently using the
    latest release. I find it quite slow, and it hangs
    quite often for periods of anything between 10
    seconds and 2 minutes.
    One of my colleagues is now using eclipse as he was
    having similar problems with netbeans, and I am
    thinking of changing to eclipse.
    I will wait until I get a ram upgrade for my work
    machine though, as this could be the reason I am
    experiencing this.I used to have this problem too whenever I unplugged my computer and it was running off of battery (I'm using a laptop). It frustrated me for a long time until someone suggested it was my power settings. I also noticed in the interim that it wasn't just NetBeans, it was all my Java programs. My graphics card (ATI Radeon) was optimizing for battery life when my computer wasn't plugged in. So I adjusted my power settings and now NetBeans works fine whether or not my computer's plugged in.
    I did briefly use Eclipse before I changed my power settings, and it didn't seem to suffer from the same problems NetBeans did. I think it's due to the fact that NetBeans uses Swing whereas Eclipse uses SWT.

  • NetBeans to Eclipse error

    Hi. I've some problem taking the source files from NetBeans to Eclipse. I want to build a GUI in NetBeans and do the coding in Eclipse.
    When I transferred the source files to Eclipse the following error message *'org.jdesktop cannot be resolved to a type'* comes up. This error comes up on the following line of code: org.jdesktop
    Now in NetBeans everything compiles fine so I don'n know why it does not compile using Eclipse. Also, everything so far is autogenerated.
    Any suggestions?
    Thanks.

    To fix the problem you have to add few jar files to your build path.
    1) appframework from YOUR_NETBEANS_DIR/java1/modules/ext
    2) org-desktop-layout from
    YOUR_NETBEANS_DIR/platform7/modules
    3) swing-layout from YOUR_NETBEANS_DIR/platform7/modules/ext
    For adding them to your projects
    -in package explorer right click on your project, then click properties.
    choose java build path from left and then libraries tab from right. click on "add external jar" and add the jar files I mentioned one by one.
    That worked for me.

  • How to create a iview in eclipse for connecting  R/3 using JCA?

    Hi everybody,
           I want to create a iview in eclipse for connecting  R/3 using JCA. Can any body send me java code for this purpose. i tried one example from sdn in eclipse but i did't get any code for the same.
    thanking you
    Rajendra

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/sap connector examples download.htm

  • How can I set up breakpoints in eclipse for jsp?

    I saw somebody can set up breakpoints in eclipse for jsp.
    But I can not do that on my eclipse.
    What's the difference?
    Thanks.

    I don't think this had a keyboard shortcut even before (checked in CS6). There's an alternative though.
    1. Create a JSFL file with following code and save it in the commands folder as 'Remove Tween'.
         fl.getDocumentDOM().getTimeline().setFrameProperty('tweenType', 'none');
    2. Now goto Edit Menu > Keyboard Shortcuts..
    3. Search for 'Remove Tween' and assign a keyboard shortcut to it.
    Now everytime you press the assigned key - jsfl script is executed which essentially removes the tween from selected frame. (works for Classic and Shape tween but not Motion Tweens)

  • Wildcards in Classpath for JNI-Calls

    Is it possible to use wildcards in the classpath for KNI-Calls?
    I would like to use wildcard for jni-calls like for normal java-calls (java -classpath *.jar ...), but it is not working.
    JDK version is JDK 1.5.0 on Win32

    I would like to use wildcard for jni-calls like for normal
    java-calls (java -classpath *.jar ...), but it is not working.It would be the Shell, not Java doing the wildcard magic.
    You would have to do the globbing manually (or use any OS APIs, or 3rd party APIs).

  • Tomcat Crashes for JNI ?

    Hello everyone,
    I am facing a serious problem. This is as follows:
    1. I have wrote some audio/video conversion fuctions using C and make the shared library (*.so files) in linux.
    2. I have wrote the JNI code (making it shared library also, *.so file) to access the library functions created in step 1.
    3. Then I use JAVA and Java Native codes to use the JNI. I load the library created by JNI code with Java.
    4. Finally, I have created a JSP page. Actuall JSP page acts as the conversion client program of audio/video conversion.
    The problem is:
    If I open the JSP page in one browser , the conversion is successfull.
    But when I open two browsers and try to convert at the same time, the tomcat crashes, so conversion fails.
    Why tomcat crashes ? Is it for JNI ? Is there any JNI drawbacks for such case ?
    It will be greate help, if someone can answer.
    Thanks in advanced.
    James

    I used the following page and was not able to reproduce the problem:
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="Mypackage1Module" definition="Project2.Mypackage1Module" releasemode="Stateful" />
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <jbo:RowsetNavigate datasource="Mypackage1Module.DeptView1" action="first" />
    <body>
    <% for(int i = 0; i < 1000; i++)
    %>
    <br>Department name(<%= "" + i %>):
    <jbo:ShowHint dataitem="Dname" datasource="Mypackage1Module.DeptView1" hintname="LABEL" />
    <jbo:ShowValue datasource="Mypackage1Module.DeptView1" dataitem="Dname" ></jbo:ShowValue>
    <%
    %>
    </body>
    </html>
    <jbo:ReleasePageResources />

  • Using NetBeans and Eclipse to drag and drop forms, controls etc

    Hi, can you use NetBeans and Eclipse to drag and drop like say with C# in MS Visual Studio ?
    like forms and listboxes, textboxes etc ??

    And [this is a good place to start|http://java.sun.com/docs/books/tutorial/uiswing/index.html]
    db

  • Eclipse for java - ToolBox plug-in

    Peace be upon you:-
    I need a FREE effective toolbox and form designer for Eclipse for java
    I am using java Eclipse 3.4.1 (not Java EE)
    Thank you in advance

    Repost in a GUI forum. Note that you already tried here.

  • How to compile a dll for JNI in the CMD correctly

    Now I find alot of old threads on using the mno command in cygwin to created dlls to use as an interface between c and Java, however I know this command is no longer available in cygwin and so I took the advid of downloading minGW and using this in the CMD instead.
    However every example I try to compile and run this way throws the unsatified link error when the native function is to be called by the Java program. I believe it must be a compiling error creating a mismatch between the native function and the function to be called.
    Here is the method I'm using to comile dlls for JNI, it is from the FAQ section of the minGw website:
    gcc -Wall -D_JNI_IMPLEMENTATION_ -Wl,--kill-at
    -Ic:/j2sdk1.4.1_02/include -Ic:/j2sdk1.4.1_02/include/win32
    -shared someJavaImp.c -o JavaImp.dll
    Is this how dll should be compiled? If not any suggestions?

    sudsey wrote:
    I know how to program well in C and Java, I just need to know the proper way to compile a dll for JNI.1. Get the MS IDE
    2. Create a dll project - it must NOT be a managed dll
    3. All done.

  • Classpath for JNI call in NT4?

    ?I prepare MyClass for JNI call on iPlanet 6 running on NT. The corresponding DLL is put in WINNT\SYSTEM32. The classpath set in registry is updated too. But error "class not found. (no MyClass in java.library.path)" still occurs. Is there any work i miss? Please advise.?

    Hi,
    Can you check the Environment variable CLASSPATH ?, the application server's classpath found under Software/iPlanet->Application Server->6.0->Java using kregedit.
    Thanks & Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Using gcc (in Cygwin) for JNI - resource.h not found. drand48 not found

    Hello,
    I am trying to use gcc for JNI. I have successfully executed simple programs like Hello World and Message Box. Now I have a C project that I am trying to use in JNI (Its FOIL 6.4 by Quinlan).
    I have written the .java file and the .c (wrapper) file and am calling the top level function from FOIL. Whenever I try to run it I get several errors.
    sys/resource.h: No such file or directory.
    /tmp/ccGi67I4.o:state.c:(.text+0x4cb): undefined reference to `_drand48'
    /tmp/ccGi67I4.o:state.c:(.text+0x85a): undefined reference to `_drand48'
    I have the resource.h file in C:\cygwin\usr\include\sys but it still doesnt find it.
    And drand48 is present in one of the include files, but it still gives me this error.
    the way I use gcc to create the dll is:
    $CYGWINBIN/gcc-3.exe -mno-cygwin -I$jdk/include -I$jdk/include/win32 -Wl,--add-stdcall-alias -shared -o foilJNI.dll foilJNI.c global.c main.c input.c output.c state.c literal.c evaluatelit.c search.c determinate.c order.c join.c utility.c finddef.c interpret.c prune.c constants.c
    where $CYGWINBIN is C:\cygwin\bin
    and $jdk is C:\Java\jdk1.6.0_20
    Can anyone please tell me where the problem is.
    Any suggestions are welcome.
    Thanks
    Nick

    lahscin wrote:
    (Its FOIL 6.4 by Quinlan).
    Any suggestions are welcome.You want to do some task using a C library and then interface that to java.
    Two parts, not one.
    So
    1. Define the task. This has nothing to do with code (java or C.)
    2. Write C code that represents a library/API to achieve that task. This has nothing to do with java nor JNI.
    3. Unit test 2 until it works.
    4. Write JNI code to use the API from 2. This involves JNI/java.
    Until you reach step 4 none of your questions have anything to do with JNI/Java. So you ask them on C forums, C compiler forums and forums specific to the library you are using.

  • Problem with downloading "Stanford Eclipse for Macintosh Users"

    Hi, recently I tried to download Stanford Eclipse for Macintosh Users . The program downloaded but did not open. If you need any additional details, I would be happy to provide them. Thank you for the help!
    Computer: Mac OS X 10.9.5
    Stanford Eclipse Download: http://see.stanford.edu/see/materials/icspmcs106a/software.aspx

    The link your professor provided only downloads, and does not install anything. Look for it in the Downloads folder. The folder they download is zipped, and it may un-zip automatically. They expect you to drag the unzipped 'Eclipse' folder to a location you find convenient.
    The package it downloads is a fairly old 32-bit version for Mac OS X 10.5 or later. The link to the Eclipse developer site has newer versions including a 64-bit version if you have a Mac running 64-bit kernel or 10.8 or later.
    AS Kappy suggests, executing eclipse.app should give you error messages that point out any deficiencies.
    If you need java and are running 10.7.3 or later, oracle java is provided ONLY at this site:
    http://java.com

Maybe you are looking for

  • How to list all .URL shortcuts on multiple computers desktops

    I've been searching to find a Powershell script that polls a list of computer names and then returns a list of the .URL shortcuts along with their targets from the logged in users desktop. Does anyone know if there is one out there or at least point

  • Time Capsule wont recognize my external hard drive connected to my router.

    I purchasd a Netgear N600 Ruter and connected a WD MyBook for Mac Hard Drive to it with the hopes of setting up a wireless Time Machine Backup system for my MacBook and iMac. Unfortunately Neither computer will recognize the MyBook Hard Drive as a Ha

  • Re: Scales in Pricing

    Hi All, I have an issue where in the requirement is as below. A customer gets a price offer as follows: 0 - 115MT = 5,20 EUR/MT from 115MT - 215MT = 5.00 EUR/MT. It means if the quantity of 115MT (several SO) is reached and when we enter a new SO, th

  • Mac os x Leopard for windows

    I am downloading windows to my mac. Do I need the Mac os x leopard disk? Or will windows work without it?

  • When i start firefox blekko is starting

    From 12/05/11 each time i startup firefox another browser BLEKKO starts