| View previous topic :: View next topic |
| Author |
Message |
Mike - EMAIL IGNORED Guest
|
Posted: Wed Sep 24, 2003 10:58 pm Post subject: RH8: Java Src to Shared Libs |
|
|
I have a C++ Red Hat 8.0 program that will need
to use some utilities written in Java. I would
like to a generate shared library from the Java
code that will be linked into the C++ program
so that everything runs in one process.
Can this be done? Where do I begin?
Thanks in advance,
Mike.
|
|
| Back to top |
|
 |
Shane Beasley Guest
|
Posted: Thu Sep 25, 2003 4:20 am Post subject: Re: RH8: Java Src to Shared Libs |
|
|
Mike - EMAIL IGNORED <m_d_berger_1900 (AT) yahoo (DOT) com> wrote
| Quote: | I have a C++ Red Hat 8.0 program that will need
to use some utilities written in Java. I would
like to a generate shared library from the Java
code that will be linked into the C++ program
so that everything runs in one process.
Can this be done? Where do I begin?
|
This newsgroup discusses the ISO C++ standard language and library.
What you're asking cannot be solved in terms of ISO C++ alone.
<off-topic>
I think JNI is exactly what you're looking for. Also, find yourself a
good Java forum; they should be able to help you.
</off-topic>
- Shane
|
|
| Back to top |
|
 |
Mike - EMAIL IGNORED Guest
|
Posted: Fri Sep 26, 2003 12:11 am Post subject: Re: RH8: Java Src to Shared Libs |
|
|
Shane Beasley wrote:
| Quote: |
Mike - EMAIL IGNORED <m_d_berger_1900 (AT) yahoo (DOT) com> wrote
I have a C++ Red Hat 8.0 program that will need
to use some utilities written in Java. I would
like to a generate shared library from the Java
code that will be linked into the C++ program
so that everything runs in one process.
Can this be done? Where do I begin?
This newsgroup discusses the ISO C++ standard language and library.
What you're asking cannot be solved in terms of ISO C++ alone.
off-topic
I think JNI is exactly what you're looking for. Also, find yourself a
good Java forum; they should be able to help you.
/off-topic
- Shane
|
No doubt a java group would consider reference to c++ off-topic.
This narrow view is an anathema to effective productivity.
Mike.
|
|
| Back to top |
|
 |
Shane Beasley Guest
|
Posted: Mon Sep 29, 2003 3:27 am Post subject: Re: RH8: Java Src to Shared Libs |
|
|
Mike - EMAIL IGNORED <m_d_berger_1900 (AT) yahoo (DOT) com> wrote
| Quote: | No doubt a java group would consider reference to c++ off-topic.
This narrow view is an anathema to effective productivity.
|
JNI is part of what Sun is marketing as Java. Therefore, it had better be on-topic.
- Shane
|
|
| Back to top |
|
 |
|