How to call a Java class in C ?
0 posts in topic
Flat View  Flat View

Posted By:   Eric_Chow
Posted On:   Friday, January 11, 2002 11:53 PM


Would you please to show me a simple how to call up a Java class in C/C++ ?

For example,

I have a Java class as following :

import java.util.Date;
public class Test {
public Test() {

public String getTime() {
return (new Date()).toString();

How can I call the getTime() in a C program ?

Best regards,

About | Sitemap | Contact