Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

using a java class in a C++ application

Hi,
I have created a class in java and now I'd like to use it in a c++ application. Do u know how to do this stuff?
Thanks
0
stef3
Asked:
stef3
1 Solution
 
arbitraryCommented:
you have a .class file that you  want to execute from a C++ enviroment ,
There isn't any simple solution.
you can either make this class of yours an activeX component
using j++, or you can enhace your C++ code with interpretation
capabilities,as following:
you install JDK ver 1.1.5 or later , with the source code demos
you open the directory JRE under JDK-Root\Demos
and there you can find the source code for the JRE interpreter.
it's not so easy to do this with the JRE source code , but it will  enable you to run your .class file from your C++ application.


0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now