How to enable Java Quick Starter (JQS) on Windows 7

6,551

Solution 1

For more information I would see this JQS help article

Quote:

JQS is enabled by default in Windows XP and Windows 2000 operating systems and JQS is not necessary on Windows Vista or Windows 7 as both offer their own pre-loading mechanisms. A process called jqs.exe will run in the background in order to allow quick startup. jqs.exe will be loaded after a Windows restart. Instructions on how to disable the JQS and the jqs.exe process are below.

As far as I can tell, Oracle sees no need for it on Vista and 7. I don't believe it's possible to enable it on either OS. Interestingly enough, the help page provides documentation on how to turn JQS off on Windows 7/Vista, but not on.

As for Vista/7's pre-loading mechanism, it appears that, unfortunately, there's no way to specify programs to cache. It's all done automatically.

As for ramdisks, as Journeyman Geek mentioned, there are tons of options such as AMD Ramdisk or Dataram's Ramdisk.

Solution 2

I found the method to enable this on any operating system.

Below are the steps. Please modify the paths as per your operating system

  1. Open cmd as administrator

  2. cd C:\Program Files\Java\jre7\bin

  3. jqs.exe -register

  4. jqs.exe -enable

Share:
6,551

Related videos on Youtube

Val
Author by

Val

Updated on September 18, 2022

Comments

  • Val
    Val almost 2 years

    I remember that Unix (Sun blades and Linux) did launch java apps instantly, especially if we compare to Windows. This was cool but now I call a java utility millions of times per second in the batch file and the startup time is the bottleneck. I see that experts exchange have the same question and discovered the option,

    enter image description here

    but it is disabled and they have no answer.

    • Thalys
      Thalys over 10 years
      I wonder if disk speed is an issue, running the program off a ram-drive might help
  • Val
    Val over 10 years
    I have no jqs.exe. Why should it work better than the option, grayed out in the Control Panel?
  • Aditya
    Aditya over 10 years
    @Val: where are you looking for jqs.exe . It must be inside C:\Program Files\Java\jre7\bin. (modify path accordingly)
  • Val
    Val over 10 years
    You seem not to notice that we already have the answer and what you say contradicts to it. Instead of elaborating, how your solution is better, you invite me to do some magic. I am talking about Windows 7 here and I do not have such folder.
  • Aditya
    Aditya over 10 years
    Ok, I saw that there is already an answer to it, but what I stated is to forcefully turn on jqs.exe in Windows 7. There must be a jre installation folder, and I specified to look for the appropriate path according to the operating system, though I referred the path on Windows 7. I dont find my answer contradicting in any way. The answer(marked as answer) stated that "Oracle sees no need for it on Vista and 7. I don't believe it's possible to enable it on either OS." That doesn't mean oracle has not provided the provision. And also the user(who posted the answer) just says "I believe".
  • Andy Thomas
    Andy Thomas about 9 years
    "Their own pre-loading mechanisms" includes Superfetch, which attempts to pre-load files based on predictions from past behavior.