- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Java/C/COMMON/VMS if interested with
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО10-19-2011 07:58 AM
тАО10-19-2011 07:58 AM
Java/C/COMMON/VMS if interested with
Dear VMS reader,
If interested with, this OpenVMS document shows a way to share an array of integers between a Java/JNI and a C programs via a installed VMS common. The code has been tested and produces expected results on VMS IA64 V8.3-1H1. Some Linker's options used in this document may have to be fitted for a run under an Alpha VMS computer.
You ought to achieve the same results without a JNI but instead using Java Native Access (JNA). Your Java code will then be 100% pure Java coded. JNA has been ported to OpenVMS and is available under J2SE V6.0.
You will find this technical paper at http://vouters.dyndns.org/tima/OpenVMS-Java-C-Sharing_data_between_Java_and_C_via_a_COMMON.html
In the hope this can give some of you ideas or a solution provided you need implement such type of solution.
Philippe
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2011 07:27 AM
тАО10-20-2011 07:27 AM
Re: Java/C/COMMON/VMS if interested with
The JNI approach in previous URL link replaced by a Java Native Access (JNA) approach. For your curiosity.
http://vouters.dyndns.org/tima/OpenVMS-Java-JNA-C-Sharing_data_between_Java_and_C_using_JNA.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2011 03:30 AM
тАО10-22-2011 03:30 AM
Re: Java/C/COMMON/VMS if interested with
For those programming in Python/VMS, here are the two Java solutions translated to Python:
http://vouters.dyndns.org/tima/OpenVMS-Python-C-Sharing_data_between_Python_and_C_via_a_COMMON.html
and
http://vouters.dyndns.org/tima/OpenVMS-Python-C-Sharing_data_between_Python_and_C_using_ctypes.html
If this can satisfy someone, I shall be glad.
Philippe
- Tags:
- Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2011 06:01 AM
тАО11-27-2011 06:01 AM
Re: Java/C/COMMON/VMS if interested with
If interested with and still in the same spirit using portable code. An extension of this study using common Linux/OpenVMS bash scripts.
Java/JNA solution:
Python/ctypes solution:
In the hope this will interest some of you.
Philippe