- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- JNI_CreateJavaVM() hangs when called from C
Operating System - HP-UX
1820592
Members
1748
Online
109626
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
тАО05-30-2003 03:37 AM
тАО05-30-2003 03:37 AM
JNI_CreateJavaVM() hangs when called from C
I have a single threaded binary and want to add JVM
as another thread in it.
I am using JDK1.41 on HP11.0.
I am linking -ljvm -ljava -llwp and using -mt option too.
But when I run this binary, the Java thread hangs. On using "-verbose:JNI" option,
I saw that it was hanging at
[Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ... JNI
I'll much appreciate any help in this regard. A similar problem was reported by Johann Niederer on Oct 17, 2002 but the final outcome (whether Java could be run or not) is not appended on itrc.
Request to Johann Niederer- If you read this message, please respond to me at "anilb@cadence.com".
Thanks and regards,
...-
anil
as another thread in it.
I am using JDK1.41 on HP11.0.
I am linking -ljvm -ljava -llwp and using -mt option too.
But when I run this binary, the Java thread hangs. On using "-verbose:JNI" option,
I saw that it was hanging at
[Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ... JNI
I'll much appreciate any help in this regard. A similar problem was reported by Johann Niederer on Oct 17, 2002 but the final outcome (whether Java could be run or not) is not appended on itrc.
Request to Johann Niederer- If you read this message, please respond to me at "anilb@cadence.com".
Thanks and regards,
...-
anil
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2003 07:40 AM
тАО05-30-2003 07:40 AM
Re: JNI_CreateJavaVM() hangs when called from C
Hi,
can you give us a example ?
to help you, you have a example in the following link , how to call the JVM in C:
http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/JNI_java2.html
Regards,
Nicolas
can you give us a example ?
to help you, you have a example in the following link , how to call the JVM in C:
http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/JNI_java2.html
Regards,
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2003 11:36 PM
тАО05-30-2003 11:36 PM
Re: JNI_CreateJavaVM() hangs when called from C
Nicolar,
Thanks for giving the pointer to document. I found that I had couple of incorrect options (related to debugging) such as -XDebug, -Xnoagent, etc. which were not needed.
Now the Java stuff is invoking all OK.
Regards,
...-
anil
Thanks for giving the pointer to document. I found that I had couple of incorrect options (related to debugging) such as -XDebug, -Xnoagent, etc. which were not needed.
Now the Java stuff is invoking all OK.
Regards,
...-
anil
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