cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
How to access java class from c++ progra
How to access java class from c++ program
Jan 21, 2009 at 10:33am UTC
antony
(9)
Dear All,
We have the requirement to access one java class from c++ program. Please share your ideas which will take me towards the right direction.
Thanks in advance
Jan 21, 2009 at 3:23pm UTC
kbw
(9488)
You may not be able to do this. Java runs in its own virtual machine, and in general an external program, such as a normal C++ will not have access to objects there.
Feb 21, 2009 at 1:14am UTC
TheHeadlessSourceMan
(1)
kbw is right. Fortunately, compile the java class with gcj and everything you need should come along for the ride.
Topic archived. No new replies allowed.