0

Is there anyway to run a Java program through C/C++?

(i.e.) When I run the C Program, the program must start and it must inturn run a java program and display its output... Im not talking about using Native interfaces and all. Not code interoperability.

Just run the java class from c using system commands. And It will be on a UNIX terminal.

I need urgent help with this. Thank you!

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by stevanity
0

I imagine there is a c library function that will allow you to execute an OS command line.
Have you asked on a c forum?

Edited by NormR1: n/a

0

After searching the internet I found the system() function in C. But haven't tried out yet in UNIX. Will report back.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.