- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- JNI - OpenVMS Sharable Image
Operating System - OpenVMS
1821801
Members
3195
Online
109637
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2006 06:51 AM
тАО02-16-2006 06:51 AM
JNI - OpenVMS Sharable Image
I'm trying to incorporate some Java code into an existing Legacy 'C' application. I have modified the Java JNI demo (that came with the OpenVMS SDK) to the point where I have the Java code performing the functionality I need.
My question is:
Does the System.loadLibrary have to point to an executable image, can I just point it at the .obj, or??? I've tried several options, and checked several forums, but have not seen where this is done. And I have not got anything to work yet.
Something tells me there's got to be a better way to integrate existing apps with a Java module than having to do a loadLibrary on the large executable for 1 'C' entry point.
If someone could point me in the right direction, I'd appreciate it.
Thanks.
My question is:
Does the System.loadLibrary have to point to an executable image, can I just point it at the .obj, or??? I've tried several options, and checked several forums, but have not seen where this is done. And I have not got anything to work yet.
Something tells me there's got to be a better way to integrate existing apps with a Java module than having to do a loadLibrary on the large executable for 1 'C' entry point.
If someone could point me in the right direction, I'd appreciate it.
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2006 01:30 PM
тАО02-16-2006 01:30 PM
Re: JNI - OpenVMS Sharable Image
S Dawson,
It needs to point to a correct built shareable library image (been there, done that--my project involved C code native methods invoked by Java programs).
- Bob Gezelter, http://www.rlgsc.com
It needs to point to a correct built shareable library image (been there, done that--my project involved C code native methods invoked by Java programs).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 08:33 AM
тАО02-20-2006 08:33 AM
Re: JNI - OpenVMS Sharable Image
I'm trying to stick some EJB's into an existing 'C' legacy application. This seems a cleaner approach than using sockets to segregate the C exe's from Java processes.
I have the same executable running in 3 seperate groups (ie. environments). Each group has it's own group level logicals, UIC, ....
The JNI stuff is not giving me as much problems as the OpenVMS is.
Does this approach make sense?
Has anyone done more than a trivial integration of Java into 'C'...This is really bugging me because I could brute force it with just socket calls into a pure Java environment in about half the time....but the idea of creating a 'C' cover function that Creates the JVM and calls existing Java code is just too much to give up on without somewhat of a fight.
Any suggestions would be helpful.
Scott
I have the same executable running in 3 seperate groups (ie. environments). Each group has it's own group level logicals, UIC, ....
The JNI stuff is not giving me as much problems as the OpenVMS is.
Does this approach make sense?
Has anyone done more than a trivial integration of Java into 'C'...This is really bugging me because I could brute force it with just socket calls into a pure Java environment in about half the time....but the idea of creating a 'C' cover function that Creates the JVM and calls existing Java code is just too much to give up on without somewhat of a fight.
Any suggestions would be helpful.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2006 07:13 PM
тАО02-20-2006 07:13 PM
Re: JNI - OpenVMS Sharable Image
Scott,
not being a JAVA nor C programmer, but there was a recent question on how to create a JAVA VM from BASIC:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999642
There is also an ATW example on calling COBOL from JAVA (JNI):
http://h71000.www7.hp.com/wizard/wiz_7543.html
Volker.
not being a JAVA nor C programmer, but there was a recent question on how to create a JAVA VM from BASIC:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999642
There is also an ATW example on calling COBOL from JAVA (JNI):
http://h71000.www7.hp.com/wizard/wiz_7543.html
Volker.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP