- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Java/C/COMMON/VMS if interested with
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP