Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Java Executable in C++

Java Executable in C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++javahelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cberam
    wrote on last edited by
    #1

    Hi, Can anyone ols help me how to execute a Java executable/code from C++? Is it possible pls help Thanks in Advance Ram

    C 1 Reply Last reply
    0
    • C cberam

      Hi, Can anyone ols help me how to execute a Java executable/code from C++? Is it possible pls help Thanks in Advance Ram

      C Offline
      C Offline
      CP Visitor
      wrote on last edited by
      #2

      cberam wrote: Can anyone ols help me how to execute a Java executable/code from C++? Is it possible pls help Do you mean launch a Java program from C++ or call Java functions from C++? For the first see: java+exe[^] Directly calling Java functions from C++ is done with JNI[^]. This is an extremely clumsy, ugly, and almost unusable interface. Better start a Java program and call C++ functions (in a DLL) from the Java program. This is comparatively simple.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups