Mixing languages in a project

Posted on 2009-02-18
Last Modified: 2013-12-15
I have a java project, that uses JNI to call native methods made in C.
I have a project set up to handle the java coding fine in Eclipse, but can I somehow "mix" the code in the same project? My main problem is just that I don't get code highlightning in the C code, but the more "advanced" funtions I can get for C (as I have with java) the better.
Question by:letharion
    LVL 6

    Author Comment

    It appears that installing CDT in eclipse is enough.
    LVL 92

    Accepted Solution

    could build your dll in a C++ project
    and your java in a java project

    LVL 6

    Author Comment

    Maybe I should. I'm gonna try setting that up. Not sure exactly how I'll do that, but maybe I'll figure it out.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Suggested Solutions

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now