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

  • Home
  • SEARCH
  • 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 6783305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:50:52+00:00 2026-05-26T16:50:52+00:00

I am having a ghost problem. I have included Java in my install package

  • 0

I am having a ghost problem. I have included Java in my install package so that I don’t have to rely on the user already having Java. The problem is that every now and then the javaw.exe disappears in my package! Upon double-clicking my Desktop-shortcut I get a message saying that it can’t find javaw.exe and it asks me if I want to remove the shortcut. I have not been able to confirm it but I think it only happens when the PC is restarted. But not every restart. That is what makes it a ghost problem. I can’t track down what is causing it or when exactly it happens.

This has occurred multiple times on Vista as well as once (so far) on XP Pro. When it happened on the XP Pro, my shortcut also was changed. javaw.exe was replaced with java-rmi.exe. That may have been the result of Windows’ search for a solution… Because I have not found any patterns to when the .exe gets deleted I have not been able to test if this issue exists on XP Home or Win 7.

The shortcuts are to:

"C:\Program Files\My Application\jre6\bin\javaw.exe" -jar "C:\Program Files\My Application\main.jar"

There are 3 processes which use the Java in my package. They are all for the same jar, the difference is, I add --argument to the end so as to run a different part of main.jar.

  • One of the processes (added after my problem started appearing on the Vista) starts when the user logs in, it handles the System Tray icon. It uses Java, Swing and JavaFX.
  • One starts at Start-up and runs in the background as administrator. This only uses Java.
  • The other is the GUI interface that runs when the user clicks one of the shortcuts. This one is Java and JavaFX with a rare Swing JDialog.

I am using Java 6 and JavaFX 2 build 36 or 40 (not sure how to be sure which one I have). I don’t have any virus scanner on the XP Pro. The Vista does have Windows Defender but nothing else. On the Vista I manually ran the scanner and javaw.exe was not effected. There are no items in my Quarantined area and no indication that javaw.exe was removed by Windows Defender.

Edit: I tried renaming javaw.exe to myjavaw.exe but it happened again on the Vista. There were no items in Windows Defenders Quarantined area. I think a virus scanner can be ruled out. Again this time, it happened after a reboot. Maybe my background process is not ending properly? Could that cause Windows to remove the exe?

Is this my problem or does it have to do with Java or JavaFX and how do I prevent it?

  • 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-26T16:50:52+00:00Added an answer on May 26, 2026 at 4:50 pm

    This has been resolved.

    It turns out that my Uninstall program does a very thorough job. Because I was not doing my part properly when it came to uninstalling the program, the uninstaller could not delete javaw.exe as well as some other files. It then created a task for the next reboot. But I re-installed the program before the next reboot. It then deleted the javaw.exe of the newly installed program.

    I am now doing my part of the uninstall process (ending the background program that was using javaw.exe among other things). So, that problem has stopped occurring.

    Thank you for the other suggestions. They were very educational.

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

Sidebar

Related Questions

Having a weird issue. I'm new to Macs and have a windows VM that
I am having a problem with a UIView that when using a solid colour
Having an issue with a Windows service that needs to monitor/have access to a
Having worked with Classic ASP for about 2 years now by creating a few
Having a problem getting a TreeView control to display node images. The code below
Having this route: map.foo 'foo/*path', :controller => 'foo', :action => 'index' I have the
Having difficulty articulating this correlated subquery. I have two tables fictitious tables, foo and
Having a problem while passing messages using content scripts in Google chrome extension dev
Having spent a bunch of time recently doing 2D work that involves pixel manipulation
Having a bit of a problem with mysql... Mysql 5.1 on windows 2008 server

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.