473,399 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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.
Jul 19 '05 #1
3 1466
Mike - EMAIL IGNORED <m_*************@yahoo.com> wrote in message news:<3F***************@yahoo.com>...
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
Jul 19 '05 #2
Shane Beasley wrote:

Mike - EMAIL IGNORED <m_*************@yahoo.com> wrote in message news:<3F***************@yahoo.com>...
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.
Jul 19 '05 #3
Mike - EMAIL IGNORED <m_*************@yahoo.com> wrote in message news:<3F**************@yahoo.com>...
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
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike - EMAIL IGNORED | last post by:
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...
4
by: Laura P | last post by:
Hi, I wasn't sure whether this should be posted in the Java are or in a Solaris thread, so I shall post it in both. Sorry for the duplication. I am new to Solaris and am having trouble...
114
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
1
by: Darin | last post by:
I have an application that is one EXE with mutliple DLL's. In one of the DLL's (libs.dll) that the EXE has refeneced, I have: Public Class Globals Public Shared gLogin as String End Class ...
9
by: Dwight | last post by:
I have several projects that use the same dlls. When deploying these projects, is there a way that I can have all the shared dlls in one subdirectory and the project specific files in another? ...
1
by: vasilip | last post by:
root@Server:/opt/ibm/db2/V9.1/bin# ./db2adutl ../db2adutl: error while loading shared libraries: libApiDS.so: cannot open shared object file: No such file or directory I just installed db2 9.1...
3
by: S S | last post by:
Hi Are there some known issues using STL with shared library. Recently I got some crash for which the reason I dont see any, and searching on goolge shown some such issues with shared library. ...
1
by: tvnaidu | last post by:
I have windows code to port to Linux, there are some static libraries like xyz.lib, also shared libs ABC.dll, I have to convert those static and shared libs (basically static will be used to make...
0
by: tvnaidu | last post by:
created a shared library .so file, using "gcc -shared ...." command, when I did "ldd xyz.so", I cannot see those static libs which are added with -l option, also I gave path -L/opt/lib where I copied...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.