Solved

using a java class in a C++ application

Posted on 1998-09-04
1
139 Views
Last Modified: 2012-05-04
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
Comment
Question by:stef3
1 Comment
 
LVL 1

Accepted Solution

by:
arbitrary earned 50 total points
ID: 1223614
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question