0

My Java SE (8u111) just won't work. I can't open java programs. Not even the Java Control Panel. I have reinstalled 5 times over, and java just won't work. Everytime i try to open Java (The CP or Program) it appears in Taskmgr, does some work (CPU and Disk rate is picking up), then the rates goes back to 0 (except memory), and Java closes itself without any error notices.

The first time i installed Java, it worked without compatibility mode. Now, it doesn't.

The only things i did before it breaks are:

  • I updated Intel HAXM
  • I turned on Intel VT
  • I ran Remix OS Player
  • Java breaks.

After it breaks, i did these to solve:

  • Uninstall Intel HAXM
  • Disabled Intel VT
  • Reinstalled Java 5 times over, one in a different drive
  • Still doesn't work.

If i apply compatibility mode set to Windows 98 / Windows Me or older, it works. But if i set it to Windows XP or newer, it will not work. Do anybody know why?

I run Java SE 8u111 (on first install, never updated), on Windows 10 version 1607 Intel Core i5-7200U, Nvidia Geforce 920MX, all running on a new 2 week old laptop.

One more thing, i doubt this'll help but, I use custom DPI Scaling (145%)

Aliffan
  • 49
  • 1
  • 1
  • 5
  • have you tested with a GUI-application or console-version. Test by launching from the console to verify it's actually the JVM and not the program itself that won't work –  Nov 22 '16 at 11:48
  • Try backing up to an earlier version of Java 8. – Gilbert Le Blanc Nov 22 '16 at 11:58
  • @Paul Well... i am not exactly an expert. I just use java, so i don't know how to do so. All of my java programs doesn't work. Not only that, websites cannot use java at all. Even with compatibility mode. – Aliffan Nov 22 '16 at 12:18
  • @GilbertLeBlanc I'll try to revert, thank you for the suggestion! – Aliffan Nov 22 '16 at 12:21
  • @GilbertLeBlanc Nope. Does not work. – Aliffan Nov 22 '16 at 12:39
  • Did you check your java_home ? recently I installed a software that requires a specific java version and overrided the java_home, all my java apps wouldn't work after. Check if you have only one java installed. – Asoub Nov 22 '16 at 12:42
  • 1
    @Aliffan it's as simple as typing `java -jar *path-to-your-jarfile*` into the terminal (can be opened with "win+r" and typing "cmd"). That might at least give you an idea what is the actual problem –  Nov 22 '16 at 12:42

1 Answers1

1

Test by launching from the console. it's as simple as typing java -jar path-to-your-jarfile into the terminal (can be opened with "win+r" and typing "cmd"). That might at least give you an idea what is the actual problem. --Paul

Thank you Paul for suggesting! After i run my java programs from the console, i found that all of the programs' crashes was caused by java.lang.IllegalArgumentException: 33 incompatible with Text-specific LCD contrast key.

I did a quick google search and read https://www.rarst.net/software/cleartype-install4j-java-bug/.

Then i remembered that, i have modified the registries of cleartype before java breaks. So i re-calibrated the cleartype settings through Windows Control Panel, and now... Everything works! All of the java programs, Java Control Panel, and java on the web is now working!

I might have figured out why the compatibility mode only works on Windows 98 or older. My cleartype parameters was invalid and java could not process the cleartype. Cleartype was implemented on Windows XP (i think). With compat. mode telling Java that this machine is Windows 98, Java would not start collecting configs and information on cleartype and/or load cleartype, making it not crash.

My problem is solved! Thank you!

Aliffan
  • 49
  • 1
  • 1
  • 5