Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7494759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:46:04+00:00 2026-05-29T17:46:04+00:00

I have a Java app that use a bunch of JNI calls to execute

  • 0

I have a Java app that use a bunch of JNI calls to execute low level stuff on Windows. When I make the JVM crash voluntarily, I noticed that it is not producing any hs_err_pid.log file which would be very useful for debugging.

Here is the behavior:

  • When I run it from Eclipse ==> The file is created in the current working dir
  • When I compile my app and run the .exe ==> The file is created in the current working dir
  • When I run the installer and run my app from the .exe in C:\Program Files\..., I still get the error message in the console that tells me the JVM crashed and a crash report has been created in C:\Program Files\MyApp\hs_err_pid3060.log, but the file does not exist.

Any idea on what’s causing this behavior?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T17:46:05+00:00Added an answer on May 29, 2026 at 5:46 pm

    Maybe it’s caused by insufficient privilege of your app. The file writing by jvm has been blocked by the OS. You can try running your app with admin privilege and see if it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java web app that makes back-end use of a third-party web
I have a Java app that makes use of some native code, and it's
I have an OSX App-Bundle for a Java Application that does not use the
I have a 32-bit app that makes use of Java Accessibility (WindowsAccessBridge-32.dll, via the
I have a java app that uses log4j. Config: log4j.rootLogger=info, file log4j.appender.file=org.apache.log4j.DailyRollingFileAppender log4j.appender.file.File=${user.home}/logs/app.log log4j.appender.file.layout=org.apache.log4j.PatternLayout
I have a Java app that can authenticate to LDAP by logging users into
I'm have a Java app that also runs as an applet. The app also
I have a standalone Java app that has some licensing code that I want
I have a large Java app that is split up into multiple projects. Each
I have a rather large (80k loc) java desktop app that talks to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.