Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2012
    Rep Power

    Default Deployment with opencv library and external C program

    I've created a desktop Java program, using Eclipse, that uses opencv. Opencv is a C++ library that has Java extensions, and I added it to the project as an external library JAR. This program also uses another program, written in C, that is accessed by commands line, one I call using Java's Process library from the Java code.

    Now I'd like to try deploying this program. I've read a variety of posts and articles on deploying Java, and this subject appears to be anything but specific. I'm starting to feel like making this program distributable will be more time consuming than creating it. I've read about Ant, Maven, IzPack, and numerous other tools, but I'm still pretty confused.

    What I know is, and correct me if I'm wrong, I need to compile the Java code into a JAR file, put it in a folder with the external library opencv JAR file and the C program, add the external JAR to the class path, and somehow create an installer file that will reconcile where this folder is at on the user's system and communicate that to the Java program, allowing it to find the C program and update the user's class path.

    Am I at all close with this conceptual understanding?

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Rep Power

    Default Re: Deployment with opencv library and external C program


Similar Threads

  1. Problem with adding external library (openCv)
    By giersz2 in forum New To Java
    Replies: 1
    Last Post: 10-14-2012, 04:09 PM
  2. Open external file with external program
    By Wietse de Vries in forum New To Java
    Replies: 1
    Last Post: 12-31-2011, 04:52 PM
  3. external library problem
    By jperson in forum Eclipse
    Replies: 2
    Last Post: 05-17-2011, 09:25 AM
  4. External Jar Library
    By a13w in forum New To Java
    Replies: 5
    Last Post: 09-24-2009, 04:23 PM
  5. external library help
    By SIAS87 in forum Java Applets
    Replies: 0
    Last Post: 03-28-2009, 03:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts